2 Copyright (C) 2000-2005 SKYRIX Software AG
4 This file is part of SOPE.
6 SOPE is free software; you can redistribute it and/or modify it under
7 the terms of the GNU Lesser General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
11 SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14 License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with SOPE; see the file COPYING. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 #ifndef __NGExtensions_AutoDefines_H__
23 #define __NGExtensions_AutoDefines_H__
25 // TODO: can we remove that?
27 #if defined(__MINGW32__)
28 # define WITH_OPENSTEP 0
31 #elif defined(__CYGWIN32__)
32 # define WITH_OPENSTEP 0
37 #elif defined(NeXT) || defined(WIN32)
38 # define WITH_OPENSTEP 1
41 # define NeXT_RUNTIME 1
44 #elif defined(__APPLE__)
45 # ifndef WITH_OPENSTEP
46 # define WITH_OPENSTEP 1
50 # define NeXT_RUNTIME 1
52 # ifndef APPLE_RUNTIME
53 # define APPLE_RUNTIME 1
56 # if !GNUSTEP_BASE_LIBRARY && !LIB_FOUNDATION_LIBRARY
57 # ifndef COCOA_Foundation_LIBRARY
58 # define COCOA_Foundation_LIBRARY 1
60 # ifndef NeXT_Foundation_LIBRARY
61 # define NeXT_Foundation_LIBRARY 1
63 # ifndef APPLE_Foundation_LIBRARY
64 # define APPLE_Foundation_LIBRARY 1
69 # define WITH_OPENSTEP 0
73 #endif /* __NGExtensions_AutoDefines_H__ */