From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver] / OSX / xscreensaver_Prefix.pch
1 /* Prefix header for all source files of the 'xscreensaver' project.
2  */
3
4 #include <stdlib.h>
5 #include <stdio.h>
6 #include <string.h>
7 #include <sys/time.h>
8
9 #include <TargetConditionals.h>
10
11 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
12 # undef USE_IPHONE
13 # define USE_IPHONE
14 # define HAVE_JWZGLES
15 #endif
16
17 #ifdef __OBJC__
18 # ifdef USE_IPHONE
19 #  import <Foundation/Foundation.h>
20 #  import <UIKit/UIKit.h>
21 # else
22 #  import <Cocoa/Cocoa.h>
23 # endif
24 #endif
25
26 #include "jwxyz.h"
27
28 # ifdef USE_IPHONE
29 # include <OpenGLES/ES1/gl.h>
30 # include <OpenGLES/ES1/glext.h>
31 #else
32 # include <OpenGL/gl.h>
33 #endif