# HG changeset patch # User Matti Hamalainen # Date 1453299923 -7200 # Node ID 8baec5a454c11913a8062cd3c20081a2e961ffee # Parent d560371c85c0677ecfb93b41ee1d4ad596fef915 Define TH_PLAT_{WINDOWS,UNIX} depending on the platform we are on. diff -r d560371c85c0 -r 8baec5a454c1 th_util.h --- a/th_util.h Tue Mar 31 11:26:26 2015 +0300 +++ b/th_util.h Wed Jan 20 16:25:23 2016 +0200 @@ -12,6 +12,12 @@ #include "config.h" #endif +#if defined(__WIN64) || defined(_WIN64) || defined(__WIN32) || defined(_WIN32) +# define TH_PLAT_WINDOWS 1 +#else +# define TH_PLAT_UNIX 1 +#endif + #include "th_types.h" #include #include