Guard IN, OUT, and OPTIONAL by guards to prevent double definition warning.

svn path=/branches/header-work/; revision=45708
This commit is contained in:
Kai Tietz 2010-02-27 18:34:13 +00:00
parent 27b53c01f0
commit 8099cb0496
2 changed files with 13 additions and 0 deletions

View file

@ -49,10 +49,18 @@ extern "C" {
#endif
/* Pseudo modifiers for parameters */
#ifndef IN
#define IN
#endif
#ifndef OUT
#define OUT
#endif
#ifndef OPTIONAL
#define OPTIONAL
#endif
#ifndef UNALLIGNED
#define UNALLIGNED
#endif
#define CONST const

View file

@ -64,8 +64,13 @@ extern "C" {
#ifndef TRUE
#define TRUE 1
#endif
#ifndef IN
#define IN
#endif
#ifndef OUT
#define OUT
#endif
#ifndef OPTIONAL
#define OPTIONAL
#endif