mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed Windows compile with MinGW 4.8.2
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.5@7410 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d159420114
commit
a4b79f2346
@ -12,7 +12,7 @@ linux-g++-64 {
|
||||
win32 {
|
||||
lessThan(QT_MAJOR_VERSION, 5) {
|
||||
# from Qt 4.7.4 and 4.8+ the mkspecs has changed making dyn libs unusable anymore on windows : QMAKE_LFLAGS =
|
||||
QMAKE_LFLAGS = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc
|
||||
QMAKE_LFLAGS = -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc
|
||||
}
|
||||
|
||||
# Switch on extra warnings
|
||||
|
@ -28,7 +28,7 @@
|
||||
*/
|
||||
|
||||
/* Solaris and Windows do not provide vasprintf() or asprintf(). */
|
||||
#if defined(__WIN32) || (defined(__SVR4) && defined(__sun))
|
||||
#if (defined(__WIN32) && !defined(__MINGW64_VERSION_MAJOR)) || (defined(__SVR4) && defined(__sun))
|
||||
int vasprintf( char **sptr, char *fmt, va_list argv )
|
||||
{
|
||||
int wanted = vsnprintf( *sptr = NULL, 0, fmt, argv );
|
||||
|
Loading…
Reference in New Issue
Block a user