Added LONGTYPE => long long for different platforms
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1145
This commit is contained in:
parent
f2f9b04b5c
commit
d61bdb0094
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2002 The DOSBox Team
|
||||
* Copyright (C) 2002-2003 The DOSBox Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -26,9 +26,11 @@
|
|||
#if defined (_MSC_VER) /* MS Visual C++ */
|
||||
#include <direct.h>
|
||||
#include <io.h>
|
||||
#else /* LINUX */
|
||||
#define LONGTYPE(a) a##i64
|
||||
#else /* LINUX / GCC */
|
||||
#include <dirent.h>
|
||||
#include <unistd.h>
|
||||
#define LONGTYPE(a) a##LL
|
||||
#endif
|
||||
|
||||
#define CROSS_LEN 512 /* Maximum filename size */
|
||||
|
|
Loading…
Add table
Reference in a new issue