diff options
author | Anthony Green <green@gcc.gnu.org> | 2009-12-31 17:44:32 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2009-12-31 17:44:32 +0000 |
commit | a761df3da467bf2f7fcd5730379d0576b8fa9910 (patch) | |
tree | 413bf962b43b4c0fe1180b5401b187f3dcb74d07 /libffi/testsuite | |
parent | 0d6f2a8037b2040d04556fe3c07dc506defba5bf (diff) | |
download | gcc-a761df3da467bf2f7fcd5730379d0576b8fa9910.zip gcc-a761df3da467bf2f7fcd5730379d0576b8fa9910.tar.gz gcc-a761df3da467bf2f7fcd5730379d0576b8fa9910.tar.bz2 |
Windows patch
From-SVN: r155540
Diffstat (limited to 'libffi/testsuite')
-rw-r--r-- | libffi/testsuite/Makefile.in | 1 | ||||
-rw-r--r-- | libffi/testsuite/libffi.call/ffitest.h | 6 | ||||
-rw-r--r-- | libffi/testsuite/libffi.special/ffitestcxx.h | 6 |
3 files changed, 7 insertions, 6 deletions
diff --git a/libffi/testsuite/Makefile.in b/libffi/testsuite/Makefile.in index 0c81695..97295f0 100644 --- a/libffi/testsuite/Makefile.in +++ b/libffi/testsuite/Makefile.in @@ -59,6 +59,7 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMTAR = @AMTAR@ +AM_LTLDFLAGS = @AM_LTLDFLAGS@ AM_RUNTESTFLAGS = AR = @AR@ AUTOCONF = @AUTOCONF@ diff --git a/libffi/testsuite/libffi.call/ffitest.h b/libffi/testsuite/libffi.call/ffitest.h index 52220a3..a54b214 100644 --- a/libffi/testsuite/libffi.call/ffitest.h +++ b/libffi/testsuite/libffi.call/ffitest.h @@ -46,9 +46,9 @@ #endif /* MinGW kludge. */ -#ifdef WIN64 -#define PRIdLL "PRId64" -#define PRIuLL "PRIu64" +#ifdef _WIN64 +#define PRIdLL "I64d" +#define PRIuLL "I64u" #else #define PRIdLL "lld" #define PRIuLL "llu" diff --git a/libffi/testsuite/libffi.special/ffitestcxx.h b/libffi/testsuite/libffi.special/ffitestcxx.h index 92fb656..e300cce 100644 --- a/libffi/testsuite/libffi.special/ffitestcxx.h +++ b/libffi/testsuite/libffi.special/ffitestcxx.h @@ -45,9 +45,9 @@ /* MinGW kludge. */ -#ifdef WIN64 -#define PRIdLL "PRId64" -#define PRIuLL "PRIu64" +#ifdef _WIN64 +#define PRIdLL "I64d" +#define PRIuLL "I64u" #else #define PRIdLL "lld" #define PRIuLL "llu" |