summaryrefslogtreecommitdiffstats
path: root/glc.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-03-09 11:10:00 +0100
committerAlexander Larsson <alexl@redhat.com>2010-03-09 11:10:00 +0100
commit3fbcfc11852cb1260f6bb4872f5af79251c69de5 (patch)
tree827bb0b0dc5d06389bcf8d6e0aca81833b0079ea /glc.c
parentfe0e853cb737a11fd10e3f193aa8a11dd03fa647 (diff)
downloadspice-common-3fbcfc11852cb1260f6bb4872f5af79251c69de5.tar.gz
spice-common-3fbcfc11852cb1260f6bb4872f5af79251c69de5.tar.xz
spice-common-3fbcfc11852cb1260f6bb4872f5af79251c69de5.zip
Use macros from <spice/macros.h> rather than duplicate them
Diffstat (limited to 'glc.c')
-rw-r--r--glc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/glc.c b/glc.c
index 090dc03..770da32 100644
--- a/glc.c
+++ b/glc.c
@@ -24,6 +24,7 @@
#include <string.h>
#include <stdio.h>
#include <math.h>
+#include <spice/macros.h>
#include <GL/gl.h>
#include <GL/glu.h>
@@ -37,9 +38,6 @@
#include "glc.h"
#include "gl_utils.h"
-#define TRUE 1
-#define FALSE 0
-
#define ASSERT(x) if (!(x)) {printf("%s: assert failed %s\n", __FUNCTION__, #x); abort();}
#define WARN_ONCE(x) { \