added snprintf define for visual c++
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1916
This commit is contained in:
parent
805187b0eb
commit
dae79d0879
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: cross.h,v 1.8 2004-08-04 09:12:50 qbix79 Exp $ */
|
||||
/* $Id: cross.h,v 1.9 2004-08-23 09:34:21 harekiet Exp $ */
|
||||
|
||||
#ifndef _CROSS_H
|
||||
#define _CROSS_H
|
||||
|
@ -29,6 +29,7 @@
|
|||
#include <direct.h>
|
||||
#include <io.h>
|
||||
#define LONGTYPE(a) a##i64
|
||||
#define snprintf _snprintf
|
||||
#else /* LINUX / GCC */
|
||||
#include <dirent.h>
|
||||
#include <unistd.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue