diff options
author | Christian Beier <dontmind@freeshell.org> | 2017-02-21 17:42:26 +0100 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2017-02-21 17:42:26 +0100 |
commit | 90220264f5ca9a6a7852cd133cc4621abb45fcee (patch) | |
tree | 96baa5e2ef29f89eb969fdfd2406b03495c90063 /test | |
parent | 9ac695a4b98de265c3bb73efd2bc80358ac6f332 (diff) | |
download | libtdevnc-90220264f5ca9a6a7852cd133cc4621abb45fcee.tar.gz libtdevnc-90220264f5ca9a6a7852cd133cc4621abb45fcee.zip |
test: tell MSVC to use math defines
Diffstat (limited to 'test')
-rw-r--r-- | test/copyrecttest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/copyrecttest.c b/test/copyrecttest.c index cd2a504..b3d3ada 100644 --- a/test/copyrecttest.c +++ b/test/copyrecttest.c @@ -2,6 +2,7 @@ #define _BSD_SOURCE #endif #include <rfb/rfb.h> +#define _USE_MATH_DEFINES #include <math.h> static void initBackground(rfbScreenInfoPtr server) |