summaryrefslogtreecommitdiff
path: root/common/defines.h
diff options
context:
space:
mode:
authorleo2000-08-24 21:24:42 +0000
committerleo2000-08-24 21:24:42 +0000
commit31a1d493ed4ca5d263244a8a3231111a58bdc5c4 (patch)
tree9963c933eb4fe42f257db26c7938009c4a88b0f4 /common/defines.h
parente54d0ecfb00132cb4eeafb7d909f89c93a7b3ca6 (diff)
Updated the Windows version with the new Minifig Wizard.
Fixed some OpenGL problems on the Windows version. git-svn-id: http://svn.leocad.org/trunk@106 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/defines.h')
-rw-r--r--common/defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/defines.h b/common/defines.h
index f08cb40..9cb8391 100644
--- a/common/defines.h
+++ b/common/defines.h
@@ -85,7 +85,7 @@ unsigned long SwapLONG(unsigned long x)
#define ABS(a) (((a) > 0) ? (a) : -(a))
#endif
-#ifndef RGB
+#ifndef LC_WINDOWS
#define RGB(r, g, b) ((unsigned long)(((unsigned char) (r) | ((unsigned short) (g) << 8))|(((unsigned long) (unsigned char) (b)) << 16)))
#endif