mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 21:51:09 +00:00
try to fix msvc build
This commit is contained in:
parent
40a5ee007f
commit
a99e721711
2 changed files with 4 additions and 2 deletions
|
@ -105,7 +105,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#ifdef Q3_VM
|
#ifdef Q3_VM
|
||||||
typedef int intptr_t;
|
typedef int intptr_t;
|
||||||
#else
|
#else
|
||||||
#include <inttypes.h>
|
# ifndef _MSC_VER
|
||||||
|
# include <stdint.h>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef unsigned char byte;
|
typedef unsigned char byte;
|
||||||
|
|
|
@ -886,6 +886,6 @@ void VM_LogSyscalls( int *args ) {
|
||||||
f = fopen("syscalls.log", "w" );
|
f = fopen("syscalls.log", "w" );
|
||||||
}
|
}
|
||||||
callnum++;
|
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] );
|
args[0], args[1], args[2], args[3], args[4] );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue