Initial original import from: fuse-2.4.2-2.fc4
[captive.git] / src / libcaptive / include / reactos / unicode.h
1 /* $Id$
2  * GNU world compatibility wrapper for reactos unicode.h for libcaptive
3  * Copyright (C) 2002 Jan Kratochvil <project-captive@jankratochvil.net>
4  * 
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; exactly version 2 of June 1991 is required
8  * 
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  * 
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19
20 #ifndef REACTOS_COMPAT
21 #define REACTOS_COMPAT 1
22 #define _CAPTIVE_REACTOS_UNICODE_H_REACTOS_COMPAT 1
23 #include "reactos/compat.h"
24 #else
25 #ifdef  _CAPTIVE_REACTOS_UNICODE_H_REACTOS_COMPAT
26 #undef  _CAPTIVE_REACTOS_UNICODE_H_REACTOS_COMPAT
27 #define _CAPTIVE_REACTOS_UNICODE_H_REACTOS_COMPAT 2
28 #endif
29 #endif
30
31 #ifndef _CAPTIVE_REACTOS_UNICODE_H
32 #define _CAPTIVE_REACTOS_UNICODE_H 1
33
34
35 #include <stdarg.h>     /* for va_list */
36 #include "reactos/structs.h"    /* for LPDCB */
37 /* #include "..." prefers current directory even if not specified by cpp -I.
38  * In the base $(top_srcdir)/src/libcaptive/include/reactos/ directory
39  * we must use #include <...> to prevent including ourselves.
40  */
41 #include <unicode.h>
42
43
44 #endif /* _CAPTIVE_REACTOS_UNICODE_H */
45
46 #  if   _CAPTIVE_REACTOS_UNICODE_H_REACTOS_COMPAT == 1
47 #undef REACTOS_COMPAT
48 #include "reactos/compat.h"
49 #elif   _CAPTIVE_REACTOS_UNICODE_H_REACTOS_COMPAT == 2
50 #undef  _CAPTIVE_REACTOS_UNICODE_H_REACTOS_COMPAT
51 #define _CAPTIVE_REACTOS_UNICODE_H_REACTOS_COMPAT 1
52 #endif