Chromium Code Reviews| Index: build/build_config.h |
| =================================================================== |
| --- build/build_config.h (revision 17958) |
| +++ build/build_config.h (working copy) |
| @@ -23,6 +23,12 @@ |
| #if !defined(TOOLKIT_VIEWS) |
| #define TOOLKIT_GTK |
| #endif |
| +#elif defined(__OpenBSD__) |
| +#define OS_OPENBSD 1 |
|
tony
2009/06/10 18:42:04
This should probably be OS_BSD. It would be nice
|
| +// Use TOOLKIT_GTK on OpenBSD if TOOLKIT_VIEWS isn't defined. |
| +#if !defined(TOOLKIT_VIEWS) |
| +#define TOOLKIT_GTK |
| +#endif |
| #elif defined(_WIN32) |
| #define OS_WIN 1 |
| #define TOOLKIT_VIEWS 1 |
| @@ -32,7 +38,7 @@ |
| // For access to standard POSIX features, use OS_POSIX instead of a more |
| // specific macro. |
| -#if defined(OS_MACOSX) || defined(OS_LINUX) |
| +#if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_OPENBSD) |
| #define OS_POSIX 1 |
| #endif |