src/common.h : Define SF_PLATFORM_S64 for non-gcc compilers with 'long long' type.

This commit is contained in:
Erik de Castro Lopo 2009-03-17 14:08:45 +11:00
parent f2e1e833de
commit aad0c4bf0d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/common.h
Define SF_PLATFORM_S64 for non-gcc compilers with 'long long' type.
2009-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/common.h src/caf.c src/sndfile.c

View File

@ -39,6 +39,8 @@
#if (SIZEOF_LONG == 8)
# define SF_PLATFORM_S64(x) x##l
#elif (SIZEOF_LONG_LONG == 8)
# define SF_PLATFORM_S64(x) x##ll
#elif COMPILER_IS_GCC
# define SF_PLATFORM_S64(x) x##ll
#elif OS_IS_WIN32