File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -345,35 +345,35 @@ pattern Stream :: SocketType
345
345
#ifdef SOCK_STREAM
346
346
pattern Stream = SocketType (# const SOCK_STREAM )
347
347
#else
348
- pattern Stream = ( - 1 )
348
+ pattern Stream = UnsupportedSocketType
349
349
#endif
350
350
351
351
pattern Datagram :: SocketType
352
352
#ifdef SOCK_DGRAM
353
353
pattern Datagram = SocketType (# const SOCK_DGRAM )
354
354
#else
355
- pattern Datagram = ( - 1 )
355
+ pattern Datagram = UnsupportedSocketType
356
356
#endif
357
357
358
358
pattern Raw :: SocketType
359
359
#ifdef SOCK_RAW
360
360
pattern Raw = SocketType (# const SOCK_RAW )
361
361
#else
362
- pattern Raw = ( - 1 )
362
+ pattern Raw = UnsupportedSocketType
363
363
#endif
364
364
365
365
pattern RDM :: SocketType
366
366
#ifdef SOCK_RDM
367
367
pattern RDM = SocketType (# const SOCK_RDM )
368
368
#else
369
- pattern RDM = ( - 1 )
369
+ pattern RDM = UnsupportedSocketType
370
370
#endif
371
371
372
372
pattern SeqPacket :: SocketType
373
373
#ifdef SOCK_SEQPACKET
374
374
pattern SeqPacket = SocketType (# const SOCK_SEQPACKET )
375
375
#else
376
- pattern SeqPacket = ( - 1 )
376
+ pattern SeqPacket = UnsupportedSocketType
377
377
#endif
378
378
379
379
------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments