From d61bdb00947fe0be485d6c4d441d11129563f948 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Thu, 24 Jul 2003 12:39:59 +0000 Subject: [PATCH] Added LONGTYPE => long long for different platforms Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1145 --- include/cross.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/cross.h b/include/cross.h index 813ff256..730bdc88 100644 --- a/include/cross.h +++ b/include/cross.h @@ -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 #include -#else /* LINUX */ +#define LONGTYPE(a) a##i64 +#else /* LINUX / GCC */ #include #include +#define LONGTYPE(a) a##LL #endif #define CROSS_LEN 512 /* Maximum filename size */