1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
// prefix header for xcode
#include <list>
#include <vector>
#include <string>
#include <map>
#include <set>
#include <stdexcept>
#ifdef __APPLE__
#undef nil
#define nil empty
#endif
#include <sigc++/sigc++.h>
#ifdef __GNUC__
# include <ext/hash_set>
#define ext __gnu_cxx
#else
# include <hash_set>
#define ext std
#endif
#include <math.h>
#include "cairo/cairo.h"
#ifdef __APPLE__
#include <OpenGL/gl.h>
#elif defined(WIN32)
#else
#include <GL/gl.h>
#endif
|