File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -345,35 +345,35 @@ pattern Stream :: SocketType
345345#ifdef SOCK_STREAM
346346pattern Stream = SocketType (# const SOCK_STREAM )
347347#else
348- pattern Stream = ( - 1 )
348+ pattern Stream = UnsupportedSocketType
349349#endif
350350
351351pattern Datagram :: SocketType
352352#ifdef SOCK_DGRAM
353353pattern Datagram = SocketType (# const SOCK_DGRAM )
354354#else
355- pattern Datagram = ( - 1 )
355+ pattern Datagram = UnsupportedSocketType
356356#endif
357357
358358pattern Raw :: SocketType
359359#ifdef SOCK_RAW
360360pattern Raw = SocketType (# const SOCK_RAW )
361361#else
362- pattern Raw = ( - 1 )
362+ pattern Raw = UnsupportedSocketType
363363#endif
364364
365365pattern RDM :: SocketType
366366#ifdef SOCK_RDM
367367pattern RDM = SocketType (# const SOCK_RDM )
368368#else
369- pattern RDM = ( - 1 )
369+ pattern RDM = UnsupportedSocketType
370370#endif
371371
372372pattern SeqPacket :: SocketType
373373#ifdef SOCK_SEQPACKET
374374pattern SeqPacket = SocketType (# const SOCK_SEQPACKET )
375375#else
376- pattern SeqPacket = ( - 1 )
376+ pattern SeqPacket = UnsupportedSocketType
377377#endif
378378
379379------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments