commit af5439f3c63f456090c0ba7943134823718e0b16
parent 156698cb9adc8d71c410769fbcd77f539b9c6f3e
Author: Nils Durner <durner@gnunet.org>
Date: Thu, 2 Jun 2005 19:17:03 +0000
win
Diffstat:
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/include/platform.h b/src/include/platform.h
@@ -58,6 +58,7 @@
#endif
#include <locale.h>
#include <iconv.h>
+#include <langinfo.h>
#ifdef OSX
#define socklen_t unsigned int
diff --git a/src/include/plibc.h b/src/include/plibc.h
@@ -22,7 +22,7 @@
* @brief PlibC header
* @attention This file is usually not installed under Unix,
* so ship it with your application
- * @version $Revision: 1.15 $
+ * @version $Revision: 1.16 $
*/
#ifndef _PLIBC_H_
@@ -303,6 +303,11 @@ typedef struct
#define SetErrnoFromWinError(e) _SetErrnoFromWinError(e, __FILE__, __LINE__)
+/**
+ * @brief index() - same as strchr()
+ */
+#define index(s, c) strchr(s, c)
+
BOOL _plibc_CreateShortcut(const char *pszSrc, const char *pszDest);
BOOL _plibc_DereferenceShortcut(char *pszShortcut);
long QueryRegistry(HKEY hMainKey, char *pszKey, char *pszSubKey,
@@ -347,6 +352,7 @@ char *_win_bindtextdomain(const char *domainname, const char *dirname);
#endif
int _win_chdir(const char *path);
int _win_close(int fd);
+int _win_creat(const char *path, mode_t mode);
int _win_fstat(int handle, struct stat *buffer);
int _win_pipe(int *phandles);
int _win_rmdir(const char *path);
diff --git a/src/plugins/thumbnail/Makefile.am b/src/plugins/thumbnail/Makefile.am
@@ -20,6 +20,7 @@ libextractor_thumbnail_la_SOURCES = \
# Ok, linking this one is complicated, see Mantis #787.
libextractor_thumbnail_la_LDFLAGS = \
+ $(top_builddir)/src/main/libextractor.la \
-Wl,-Bstatic -Wl,-lgobject-2.0 -Wl,-lglib-2.0 -Wl,-Bdynamic \
-Wl,-Bsymbolic -avoid-version -module