|
Last change
on this file since 3848 was
3810,
checked in by patrick, 21 years ago
|
|
orxonox/trunk: changed pnode interface of setRelCoor and setRelDir
|
|
File size:
880 bytes
|
| Rev | Line | |
|---|
| [3193] | 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 | */ |
|---|
| [1855] | 7 | |
|---|
| [3224] | 8 | #ifndef _STDINCL_H |
|---|
| 9 | #define _STDINCL_H |
|---|
| [1855] | 10 | |
|---|
| [3365] | 11 | typedef unsigned char byte; |
|---|
| 12 | |
|---|
| [3204] | 13 | // this includes the information from configure/makefiles |
|---|
| 14 | #if HAVE_CONFIG_H |
|---|
| 15 | #include <config.h> |
|---|
| 16 | #endif |
|---|
| 17 | |
|---|
| [2190] | 18 | #ifdef __WIN32__ |
|---|
| 19 | #include <windows.h> |
|---|
| [1855] | 20 | #endif |
|---|
| [2995] | 21 | |
|---|
| [3607] | 22 | #include <stddef.h> |
|---|
| [3495] | 23 | #include <stdlib.h> |
|---|
| 24 | #include <string.h> |
|---|
| 25 | |
|---|
| [3433] | 26 | #include "glincl.h" |
|---|
| [2995] | 27 | |
|---|
| [3433] | 28 | #include "error.h" |
|---|
| 29 | #include "debug.h" |
|---|
| 30 | |
|---|
| [3800] | 31 | |
|---|
| 32 | /* performance tweaking stuff */ |
|---|
| 33 | #ifdef __unix__ |
|---|
| [3810] | 34 | #include <linux/compiler.h> |
|---|
| 35 | #define __LIKELY_IF(condition) if( likely(condition)) |
|---|
| 36 | #define __UNLIKELY_IF(condition) if( unlikely(condition)) |
|---|
| [3800] | 37 | #else |
|---|
| 38 | #define __LIKELY_IF(condition) if( condition) |
|---|
| 39 | #define __UNLIKELY_IF(condition) if( condition) |
|---|
| 40 | #endif |
|---|
| 41 | |
|---|
| [3224] | 42 | #endif /* _STDINCL_H */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.