File: z_config.h

package info (click to toggle)
glhack 1.2-8.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,744 kB
  • sloc: ansic: 208,571; cpp: 13,139; yacc: 2,005; makefile: 1,152; lex: 377; sh: 121; awk: 89; sed: 11
file content (93 lines) | stat: -rw-r--r-- 1,712 bytes parent folder | download | duplicates (6)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
//----------------------------------------------------------------------------
//  Main CONFIG
//----------------------------------------------------------------------------
//
//  Z C++ Lib (C) 2001-2002 Andrew Apted
//
//  This program is free software; you can redistribute it and/or
//  modify it under the terms of the GNU General Public License
//  as published by the Free Software Foundation; either version 2
//  of the License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//------------------------------------------------------------------------

#ifndef __Z_CONFIG_H__
#define __Z_CONFIG_H__

#include "config.h"


//
//  SYSTEM HEADERS
// 

#if defined(WIN32)
#define STRICT
#define _WINDOWS
#define WIN32_LEAN_AND_MEAN

#include <windows.h>
#endif

#include <cstdarg>
#include <cstdlib>
#include <cmath>
#include <cctype>
#include <cstring>
#include <cstdio>

#ifdef USE_FLTK
#include <FL/Fl.H>
#endif

#ifdef USE_SDL
#include <SDL/SDL.h>
#endif

#ifdef USE_GL
#include <GL/gl.h>
#endif

#ifdef USE_PNG
#include <png.h>
#endif

#ifdef AJLIB_JPEG
#include <jpeglib.h>
#endif

//
//  MISCELLANEOUS
//

#ifndef O_BINARY
#define O_BINARY  0
#endif

#ifndef M_PI
#define M_PI  3.1415926535897932385
#endif

#ifdef __GNUC__
#define GCCATTR(a)  __attribute__((a))
#else
#define GCCATTR(a)  /* nothing */
#endif


//
//  LOCAL HEADERS
//

#include "z_macros.h"
#include "z_types.h"
#include "z_endian.h"
#include "z_error.h"


#endif /* __Z_CONFIG_H__ */