Permalink
Browse files

Woo got it building on linux.

I don't know if the #ifdef WIN32 think worked, maybe it's #ifdef WINDOWS or something.
  • Loading branch information...
luqui
luqui committed Aug 6, 2008
1 parent 1f21a26 commit a0cd1d0d9b1083024bf8066f4f4f3990236c63d5
Showing with 8 additions and 0 deletions.
  1. +5 −0 soylent/GoD/chipmunk/chipmunk.h
  2. +3 −0 soylent/GoD/main.cpp
@@ -19,6 +19,9 @@
* SOFTWARE.
*/
+#ifndef __CHIPMUNK_H__
+#define __CHIPMUNK_H__
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -84,3 +87,5 @@ cpFloat cpMomentForPoly(cpFloat m, int numVerts, cpVect *verts, cpVect offset);
#ifdef __cplusplus
}
#endif
+
+#endif
View
@@ -3,7 +3,10 @@
#include <math.h>
#include <iostream>
+#ifdef WIN32
#include <windows.h>
+#endif
+
#include <GL/gl.h>
#include <GL/glu.h>
#include "SDL.h"

0 comments on commit a0cd1d0

Please sign in to comment.