Fixed warnings in Linux (_MSC_VER)

--HG--
branch : feature
This commit is contained in:
Valentina Zhuravska 2015-09-30 18:10:42 +03:00
parent 00e38fc119
commit 637baaeabb
5 changed files with 25 additions and 15 deletions

View File

@ -32,9 +32,11 @@
#include "dl_global.h" #include "dl_global.h"
#if _MSC_VER > 1000 #if defined(Q_CC_MSVC)
#pragma once #if (_MSC_VER > 1000)
#endif // _MSC_VER > 1000 #pragma once
#endif // _MSC_VER > 1000
#endif // Q_CC_MSVC
#if defined(__OS2__)||defined(__EMX__) #if defined(__OS2__)||defined(__EMX__)
#define strcasecmp(s,t) stricmp(s,t) #define strcasecmp(s,t) stricmp(s,t)

View File

@ -28,9 +28,11 @@
#include "dl_global.h" #include "dl_global.h"
#if _MSC_VER > 1000 #if defined(Q_CC_MSVC)
#pragma once #if (_MSC_VER > 1000)
#endif // _MSC_VER > 1000 #pragma once
#endif // _MSC_VER > 1000
#endif // Q_CC_MSVC
/** /**
* Used for exception handling. * Used for exception handling.

View File

@ -32,9 +32,11 @@
#include <strings.h> #include <strings.h>
#endif #endif
#if _MSC_VER > 1000 #if defined(Q_CC_MSVC)
#pragma once #if (_MSC_VER > 1000)
#endif // _MSC_VER > 1000 #pragma once
#endif // _MSC_VER > 1000
#endif // Q_CC_MSVC
#include <iostream> #include <iostream>
#include <algorithm> #include <algorithm>

View File

@ -23,9 +23,11 @@
** **
**********************************************************************/ **********************************************************************/
#if _MSC_VER > 1000 #if defined(Q_CC_MSVC)
#pragma once #if (_MSC_VER > 1000)
#endif // _MSC_VER > 1000 #pragma once
#endif // _MSC_VER > 1000
#endif // Q_CC_MSVC
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

View File

@ -28,9 +28,11 @@
#include "dl_global.h" #include "dl_global.h"
#if _MSC_VER > 1000 #if defined(Q_CC_MSVC)
#pragma once #if (_MSC_VER > 1000)
#endif // _MSC_VER > 1000 #pragma once
#endif // _MSC_VER > 1000
#endif // Q_CC_MSVC
#include "dl_writer.h" #include "dl_writer.h"
#include <fstream> #include <fstream>