try to fix msvc build

This commit is contained in:
Ludwig Nussel committed 2006-02-26 20:01:45 +00:00
1 parent 40a5ee007f
commit a99e721711
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -105,7 +105,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#ifdef Q3_VM
typedef int intptr_t;
#else
#include <inttypes.h>
# ifndef _MSC_VER
# include <stdint.h>
# endif
#endif
typedef unsigned char byte;
+1 -1
View File
@@ -886,6 +886,6 @@ void VM_LogSyscalls( int *args ) {
f = fopen("syscalls.log", "w" );
}
callnum++;
fprintf(f, "%i: %"PRIiPTR" (%i) = %i %i %i %i\n", callnum, (intptr_t)(args - (int *)currentVM->dataBase),
fprintf(f, "%i: %p (%i) = %i %i %i %i\n", callnum, (void*)(args - (int *)currentVM->dataBase),
args[0], args[1], args[2], args[3], args[4] );
}