summaryrefslogtreecommitdiffstats
path: root/Smoke/funcs.h
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2007-12-14 18:02:27 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2007-12-14 18:02:27 (GMT)
commit5a422dac78479f396437b5f9c1e8efbecf2c9b0f (patch)
treeb9910125b40708a3cd496ec46312012350886a7c /Smoke/funcs.h
parent241bfc64ed6446c295846d5ae635f6ba4e25a666 (diff)
download2iv35-5a422dac78479f396437b5f9c1e8efbecf2c9b0f.zip
2iv35-5a422dac78479f396437b5f9c1e8efbecf2c9b0f.tar.gz
2iv35-5a422dac78479f396437b5f9c1e8efbecf2c9b0f.tar.bz2
latest merge
Diffstat (limited to 'Smoke/funcs.h')
-rw-r--r--Smoke/funcs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Smoke/funcs.h b/Smoke/funcs.h
index f5720a1..38101f2 100644
--- a/Smoke/funcs.h
+++ b/Smoke/funcs.h
@@ -1,8 +1,12 @@
#ifndef _FUNCS_H
#define _FUNCS_H
+#ifndef G_OS_WIN32
+#define WIN32_LEAN_AND_MEAN 1
#define max(a, b) (a > b ? a : b)
#define min(a, b) (a < b ? a : b)
+#endif
+
#define round(x) (int)(x < 0 ? x - 0.5 : x + 0.5)
#define FALSE 0