Salome HOME
Merge from V6_main (04/10/2012)
[modules/med.git] / adm_local_without_kernel / SALOMEconfig.h.in
1 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22
23 /* Debug mode ??? */
24 #ifndef DEBUG
25 # define DEBUG
26 #endif
27
28 /* CORBA headers include rules */
29 #ifndef CORBA_CLIENT_HEADER
30 # define QUOTE(x)  #x
31 # define CORBA_CLIENT_HEADER(x)  QUOTE(x@IDL_CLN_H@)
32 # define CORBA_SERVER_HEADER(x)  QUOTE(x@IDL_SRV_H@)
33 #endif
34
35 /* Platform definition */
36 #ifndef @MACHINE@
37   #define @MACHINE@
38 #endif
39
40 // This is only to suppress warning messages with defines redefined (cause of omniORB that exports these names)
41 #ifdef PACKAGE
42 #undef PACKAGE
43 #endif
44 #ifdef PACKAGE_BUGREPORT
45 #undef PACKAGE_BUGREPORT
46 #endif
47 #ifdef PACKAGE_NAME
48 #undef PACKAGE_NAME
49 #endif
50 #ifdef PACKAGE_STRING
51 #undef PACKAGE_STRING
52 #endif
53 #ifdef PACKAGE_TARNAME
54 #undef PACKAGE_TARNAME
55 #endif
56 #ifdef PACKAGE_VERSION
57 #undef PACKAGE_VERSION
58 #endif
59 #ifdef VERSION
60 #undef VERSION
61 #endif
62
63 #ifdef _POSIX_C_SOURCE
64 #undef _POSIX_C_SOURCE
65 #endif