summaryrefslogtreecommitdiffstats
path: root/OSX/xscreensaver_Prefix.pch
blob: 07c8c89b7e19e9f4b2801ee22cfade57d46dd7fc (plain) (blame)
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
/* Prefix header for all source files of the 'xscreensaver' project.
 */

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/time.h>

#include <TargetConditionals.h>

#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
# undef USE_IPHONE
# define USE_IPHONE
# define HAVE_JWZGLES
#endif

#ifdef __OBJC__
# ifdef USE_IPHONE
#  import <Foundation/Foundation.h>
#  import <UIKit/UIKit.h>
# else
#  import <Cocoa/Cocoa.h>
# endif
#endif

#include "jwxyz.h"

# ifdef USE_IPHONE
# include <OpenGLES/ES1/gl.h>
# include <OpenGLES/ES1/glext.h>
#else
# include <OpenGL/gl.h>
#endif