Some small fixes.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1744 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -3517,6 +3517,10 @@ SOURCE=..\sc2code\misc.c
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\sc2code\mouse_err.c
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\sc2code\nameref.h
|
SOURCE=..\sc2code\nameref.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|||||||
+5
-4
@@ -20,14 +20,15 @@
|
|||||||
* Created by Serge van den Boom
|
* Created by Serge van den Boom
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "port.h"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "errno.h"
|
#include <errno.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#ifndef HAVE_READDIR_R
|
#if !defined (_MSC_VER) && !defined (HAVE_READDIR_R)
|
||||||
# include <dirent.h>
|
# include <dirent.h>
|
||||||
#endif
|
#endif
|
||||||
#include "port.h"
|
|
||||||
|
|
||||||
#ifndef HAVE_STRUPR
|
#ifndef HAVE_STRUPR
|
||||||
char *
|
char *
|
||||||
@@ -82,7 +83,7 @@ setenv (const char *name, const char *value, int overwrite)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_READDIR_R
|
#if !defined (_MSC_VER) && !defined (HAVE_READDIR_R)
|
||||||
// NB. This function calls readdir() directly, and as such has the same
|
// NB. This function calls readdir() directly, and as such has the same
|
||||||
// reentrance issues as that function. For the purposes of UQM it will
|
// reentrance issues as that function. For the purposes of UQM it will
|
||||||
// do though.
|
// do though.
|
||||||
|
|||||||
Reference in New Issue
Block a user