Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 3862 was 3860, checked in by bensch, 20 years ago

orxonox/trunk: moved likely to compiler.h in defs
also reset all the UNLIKELY_IF functions to how they should look.

the old approach is still valid, but depricated.

@patrick: i hope this is ok for you, for it is LINUX-standard.
and i think windows is also able to handle likely/unlikely because it is a compiler issue not a system issue

File size: 598 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#include "compiler.h"
32
33#endif /* _STDINCL_H */
Note: See TracBrowser for help on using the repository browser.