mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-10-22 21:52:51 +00:00
make CPP condition depend on HOST OS (#321)
This commit is contained in:
1 parent
c1f5f9d846
commit
dff5cad1be
2 files changed
+1
-4
No files matched your search
@@ -98,7 +98,7 @@ enumJSON tagModifier =
|
||||
}
|
||||
|
||||
sumTypeJSON :: (String -> String) -> J.Options
|
||||
#if defined(IOS)
|
||||
#if defined(darwin_HOST_OS)
|
||||
sumTypeJSON = singleFieldJSON
|
||||
#else
|
||||
sumTypeJSON = taggedObjectJSON
|
||||
|
||||
Reference in new issue
Block a user