X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=system.mk;h=0554fc005d2ce8b1532f24157eb93ef06f03f8b3;hb=3102bb90c325d9b29ac304d8f3ea0a17df564fc8;hp=b592858f220ac613685ea089e3c206afcd488153;hpb=df57861c962a50bfbf57f276d288395fe0c6a4b6;p=ion3.git diff --git a/system.mk b/system.mk index b592858..0554fc0 100644 --- 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