]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Copyright (C) 2007 Collabora, Ltd. All rights reserved. | |
3 | * | |
4 | * This library is free software; you can redistribute it and/or | |
5 | * modify it under the terms of the GNU Lesser General Public | |
6 | * License as published by the Free Software Foundation; either | |
7 | * version 2.1 of the License, or (at your option) any later version. | |
8 | * | |
9 | * This library 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 GNU | |
12 | * Lesser General Public License for more details. | |
13 | * | |
14 | * You should have received a copy of the GNU Lesser General Public | |
15 | * License along with this library; if not, write to the Free | |
16 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
17 | * | |
18 | * | |
19 | * This is a internal include header for npapi.h | |
20 | * | |
21 | * Some of the #defines which are in X11 headers conflict with type and enum | |
22 | * names in JavaScriptCore and WebCore | |
23 | * This header #undefs those defines to fix the conflicts | |
24 | * If you need to include npapi.h or npruntime.h when building on X11, | |
25 | * include this file instead of the actual npapi.h or npruntime.h | |
26 | */ | |
27 | ||
28 | #include "npruntime.h" | |
29 | ||
30 | #ifdef XP_UNIX | |
31 | #include <X11/Xresource.h> | |
32 | ||
33 | #undef None | |
34 | #undef Above | |
35 | #undef Below | |
36 | #undef Auto | |
37 | #undef Complex | |
38 | #undef Status | |
39 | #endif |