Last active
February 3, 2018 04:58
-
-
Save wwiv/a96c326fdf979f800b10501fccf7e606 to your computer and use it in GitHub Desktop.
hacky way to make syncterm compile on mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/xpdev/Common.gmake b/src/xpdev/Common.gmake | |
index 4588fbc..4bf00a2 100644 | |
--- a/src/xpdev/Common.gmake | |
+++ b/src/xpdev/Common.gmake | |
@@ -203,3 +203,8 @@ ifeq ($(shell if [ -f /usr/include/alsa/asoundlib.h ] ; then echo YES ; fi),YES) | |
XPDEV-MT_LIBS += -ldl | |
XPDEV_LIBS += -ldl | |
endif | |
+ | |
+ifeq ($(os),darwin) # Mac OS/X | |
+ XPDEV-MT_CFLAGS += -DXPDEV_DONT_DEFINE_INTTYPES -DUSE_SNPRINTF -DHAS_INTTYPES_H | |
+endif | |
+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment