/ Check-in [0b945101]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Lemon: Patched to compile with Visual Studio.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | lemon-update-2010
Files: files | file ages | folders
SHA1: 0b945101aa4e70f2f6dd389db57bd2e503bdbb41
User & Date: icculus 2010-11-19 03:55:53
Context
2010-11-19
04:19
Lemon: correcting previous win32 access() fix.

The previous fix caused link errors when compiled as C++. check-in: bd03d333 user: icculus tags: lemon-update-2010

03:55
Lemon: Patched to compile with Visual Studio. check-in: 0b945101 user: icculus tags: lemon-update-2010
2010-03-03
17:09
Fixed compiler warning on Visual Studio. check-in: 83495128 user: icculus tags: lemon-update-2010
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tool/lemon.c.

16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef __WIN32__
#   if defined(_WIN32) || defined(WIN32)
#	define __WIN32__
#   endif
#endif

#ifdef __WIN32__
extern int access();
#else
#include <unistd.h>
#endif

/* #define PRIVATE static */
#define PRIVATE








|







16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef __WIN32__
#   if defined(_WIN32) || defined(WIN32)
#	define __WIN32__
#   endif
#endif

#ifdef __WIN32__
extern int access(const char *path, int mode);
#else
#include <unistd.h>
#endif

/* #define PRIVATE static */
#define PRIVATE