Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/defs/stdincl.h @ 3810

Last change on this file since 3810 was 3810, checked in by patrick, 20 years ago

orxonox/trunk: changed pnode interface of setRelCoor and setRelDir

File size: 880 bytes
Line 
1/*!
2  \file stdincl.h
3  \brief This file includes default headers that nearly every Class needs.
4 
5  no Class is defined here, but many headers to classes, and more general Headers like the openGL-header.
6*/
7
8#ifndef _STDINCL_H
9#define _STDINCL_H
10
11typedef unsigned char byte;
12
13// this includes the information from configure/makefiles
14#if HAVE_CONFIG_H
15#include <config.h> 
16#endif
17
18#ifdef __WIN32__
19#include <windows.h>
20#endif
21
22#include <stddef.h>
23#include <stdlib.h>
24#include <string.h>
25
26#include "glincl.h"
27
28#include "error.h"
29#include "debug.h"
30
31
32/* performance tweaking stuff */
33#ifdef __unix__
34 #include <linux/compiler.h>
35 #define __LIKELY_IF(condition)  if( likely(condition))
36 #define __UNLIKELY_IF(condition) if( unlikely(condition))
37#else
38 #define __LIKELY_IF(condition)  if( condition)
39 #define __UNLIKELY_IF(condition) if( condition)
40#endif
41
42#endif /* _STDINCL_H */
Note: See TracBrowser for help on using the repository browser.