Skip to content

Commit

Permalink
Woo got it building on linux.
Browse files Browse the repository at this point in the history
I don't know if the #ifdef WIN32 think worked, maybe it's #ifdef WINDOWS or something.
  • Loading branch information
luqui committed Aug 6, 2008
1 parent 1f21a26 commit a0cd1d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions soylent/GoD/chipmunk/chipmunk.h
Expand Up @@ -19,6 +19,9 @@
* SOFTWARE.
*/

#ifndef __CHIPMUNK_H__
#define __CHIPMUNK_H__

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -84,3 +87,5 @@ cpFloat cpMomentForPoly(cpFloat m, int numVerts, cpVect *verts, cpVect offset);
#ifdef __cplusplus
}
#endif

#endif
3 changes: 3 additions & 0 deletions soylent/GoD/main.cpp
Expand Up @@ -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"
Expand Down

0 comments on commit a0cd1d0

Please sign in to comment.