]> git.decadent.org.uk Git - ion3.git/blobdiff - system.mk
Add 20081002-1.
[ion3.git] / system.mk
index b592858f220ac613685ea089e3c206afcd488153..0554fc005d2ce8b1532f24157eb93ef06f03f8b3 100644 (file)
--- a/system.mk
+++ b/system.mk
@@ -38,6 +38,9 @@ VARDIR=/var/cache/ion3
 # Message catalogs
 LOCALEDIR=$(PREFIX)/share/locale
 
+# Executable suffix (for Cygwin).
+#BIN_SUFFIX = .exe
+
 
 ##
 ## Modules
@@ -131,6 +134,9 @@ DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND
 # monotonic clock at all (which Ion can live with, and usually detect).
 EXTRA_LIBS += -lrt
 
+# Cygwin needs this.
+#DEFINES += -DCF_NO_GETLOADAVG
+
 
 #
 # If you're using/have gcc, it is unlikely that you need to modify
@@ -163,7 +169,7 @@ EXPORT_DYNAMIC=-Xlinker --export-dynamic
 
 #C89_SOURCE=-ansi
 
-#POSIX_SOURCE=-D_POSIX_C_SOURCE=200112L
+POSIX_SOURCE=-D_POSIX_C_SOURCE=200112L
 
 # Most systems
 #XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED