diff options
Diffstat (limited to 'Presence/SockAddr.hs')
-rw-r--r-- | Presence/SockAddr.hs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Presence/SockAddr.hs b/Presence/SockAddr.hs new file mode 100644 index 00000000..91a03870 --- /dev/null +++ b/Presence/SockAddr.hs | |||
@@ -0,0 +1,13 @@ | |||
1 | {-# LANGUAGE CPP #-} | ||
2 | {-# LANGUAGE StandaloneDeriving #-} | ||
3 | module SockAddr () where | ||
4 | |||
5 | import Network.Socket ( SockAddr(..) ) | ||
6 | |||
7 | #if MIN_VERSION_network(2,4,0) | ||
8 | #else | ||
9 | deriving instance Ord SockAddr | ||
10 | #endif | ||
11 | |||
12 | |||
13 | |||