mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Merged revision 7410 from v0.5.5
Fixed Windows compile with MinGW 4.8.2 git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7411 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1b822f940e
commit
d8ed978b28
@ -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
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include <QTimer>
|
||||
#include <QObject>
|
||||
#include <QFontMetrics>
|
||||
#include <time.h>
|
||||
|
||||
#include <QPainter>
|
||||
#include <QStylePainter>
|
||||
|
@ -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