Skip to content

Commit

Permalink
fix ifdefs in omc_config.h
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo authored and OpenModelica-Hudson committed Apr 4, 2016
1 parent 5e18b05 commit 817c916
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Compiler/runtime/omc_config.h
Expand Up @@ -37,7 +37,7 @@
#define CONFIG_USER_IS_ROOT (geteuid() == 0 ? 1 : 0)
#endif

#if !defined(MSYS2_AUTOCONF)
#if !defined(MSYS2_AUTOCONF) && (defined(__MINGW32__) || defined(_MSC_VER))
/* Windows */
#if defined(__MINGW64__)

Expand Down Expand Up @@ -77,8 +77,6 @@

#endif

/* #endif !defined(MSYS2_AUTOCONF) */

#define DEFAULT_CC "gcc"
#define DEFAULT_CXX "g++"
#define DEFAULT_OMPCC "gcc -fopenmp"
Expand Down Expand Up @@ -146,13 +144,13 @@

#define WITH_UMFPACK

#else /* Unix */
#else /* Unix */ /* #if !defined(MSYS2_AUTOCONF) && (defined(__MINGW32__) || defined(_MSC_VER)) */

#define DEFAULT_LDFLAGS ""

#include "config.unix.h"

#endif
#endif /* #if !defined(MSYS2_AUTOCONF) && (defined(__MINGW32__) || defined(_MSC_VER)) */

#ifdef CONFIG_REVISION
#define CONFIG_VERSION CONFIG_REVISION
Expand Down

0 comments on commit 817c916

Please sign in to comment.