aboutsummaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorJames Lyon <jamesly0n@hotmail.com>2013-04-25 22:30:53 +0100
committerJames Lyon <jamesly0n@hotmail.com>2013-04-25 22:30:53 +0100
commit1caee8ab3b6c3cf3ceb06d1ec4a5e09e2d90c543 (patch)
tree8030bbd2960b6951864d1bc21d634d6a95379196 /config.h.in
parente7a7efed11792e0dbc14a66b02fa7b25886f69d8 (diff)
downloadtinycc-1caee8ab3b6c3cf3ceb06d1ec4a5e09e2d90c543.tar.gz
tinycc-1caee8ab3b6c3cf3ceb06d1ec4a5e09e2d90c543.tar.bz2
Sorted out CMake on x86-64 and fixed silly XMM# bug introduced when working on Win64 stdargs.
I removed the XMM6/7 registers from the register list because they are not used on Win64 however they are necessary for parameter passing on x86-64. I have now restored them but not marked them with RC_FLOAT so they will not be used except for parameter passing.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h.in b/config.h.in
index 79640fd..16393e9 100644
--- a/config.h.in
+++ b/config.h.in
@@ -1,4 +1,4 @@
-#define CONFIG_TCCDIR "${CMAKE_INSTALL_PREFIX}"
+#define CONFIG_TCCDIR "${CONFIG_TCCDIR}"
#define TCC_VERSION "${TCC_VERSION}"
#cmakedefine CONFIG_WIN32