aboutsummaryrefslogtreecommitdiff
path: root/sim/common/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/defs.h')
-rw-r--r--sim/common/defs.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/sim/common/defs.h b/sim/common/defs.h
index 21ad2a4..8bf1299 100644
--- a/sim/common/defs.h
+++ b/sim/common/defs.h
@@ -34,23 +34,11 @@
#undef PACKAGE_URL
#undef PACKAGE_VERSION
-/* Include arch-specific sim's various configure tests. */
-#include "config.h"
-
-#ifndef SIM_COMMON_BUILD
-
-/* Reset macros that our config.h will provide. */
-#undef PACKAGE
-#undef PACKAGE_BUGREPORT
-#undef PACKAGE_NAME
-#undef PACKAGE_STRING
-#undef PACKAGE_TARNAME
-#undef PACKAGE_URL
-#undef PACKAGE_VERSION
-
/* Include common sim's various configure tests. */
+#ifndef SIM_COMMON_BUILD
#include "../config.h"
-
+#else
+#include "config.h"
#endif
#endif