Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix cross-platform build

git-svn-id: https://plibc.svn.sourceforge.net/svnroot/plibc/trunk/plibc@78 1596915d-9e13-0410-ab7f-96e59408e0f0
  • Loading branch information...
commit d5054987785dd92b2d9ad9664c3c2cf4d01d9a6c 1 parent af50090
ndurner authored
View
4 bootstrap
@@ -1,2 +1,2 @@
-#!/bin/sh
-autoreconf -f -i
+#!/bin/sh
+autoreconf -f -i
View
2  src/choosefile.c
@@ -23,7 +23,7 @@
*/
#include "plibc_private.h"
-#include <Commdlg.h>
+#include <commdlg.h>
/* Remember the previously selected path */
static char szFilename[_MAX_PATH + 1] = "\0";
View
1  src/include/plibc_private.h
@@ -44,6 +44,7 @@
#include <sys/stat.h>
#include <limits.h>
#include <locale.h>
+#include <objbase.h>
typedef struct {
char *pStart;
View
5 src/intl.c
@@ -26,6 +26,7 @@
char *_win_bindtextdomain(const char *domainname, const char *dirname)
{
+#ifdef HAVE_LIBINTL
char szDirname[_MAX_PATH + 1];
int i;
@@ -37,6 +38,10 @@ char *_win_bindtextdomain(const char *domainname, const char *dirname)
}
return bindtextdomain(domainname, szDirname);
+#else
+ errno = ENOSYS;
+ return NULL;
+#endif
}
/* end of intl.c */
View
2  src/resolv_ms.c
@@ -16,7 +16,7 @@ Revision History:
--*/
#include <winsock2.h>
-#include <Ws2tcpip.h>
+#include <ws2tcpip.h>
#include <stdio.h> // sprintf()
#include <stdlib.h> // calloc(), strtoul()
#include <malloc.h> // calloc()

0 comments on commit d505498

Please sign in to comment.
Something went wrong with that request. Please try again.