Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
onlyoffice_core
Commits
dfd54ff5
Commit
dfd54ff5
authored
Oct 11, 2017
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_MSC_VER >= 1900 build
parent
6ec7d77e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
1 deletion
+13
-1
DesktopEditor/cximage/raw/dcr.c
DesktopEditor/cximage/raw/dcr.c
+2
-0
DesktopEditor/cximage/raw/dcraw.c
DesktopEditor/cximage/raw/dcraw.c
+2
-0
DesktopEditor/cximage/raw/libdcr.c
DesktopEditor/cximage/raw/libdcr.c
+2
-0
DesktopEditor/raster/JBig2/source/LeptonLib/environ.h
DesktopEditor/raster/JBig2/source/LeptonLib/environ.h
+1
-1
DesktopEditor/xml/build/qt/config.h
DesktopEditor/xml/build/qt/config.h
+2
-0
DesktopEditor/xml/build/vs2013/config.h
DesktopEditor/xml/build/vs2013/config.h
+2
-0
DesktopEditor/xml/libxml2/win32/wince/wincecompat.h
DesktopEditor/xml/libxml2/win32/wince/wincecompat.h
+2
-0
No files found.
DesktopEditor/cximage/raw/dcr.c
View file @
dfd54ff5
...
@@ -63,7 +63,9 @@
...
@@ -63,7 +63,9 @@
#include <sys/utime.h>
#include <sys/utime.h>
#include <winsock2.h>
#include <winsock2.h>
#pragma comment(lib, "ws2_32.lib")
#pragma comment(lib, "ws2_32.lib")
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#define snprintf _snprintf
#endif
#define strcasecmp _stricmp
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define strncasecmp _strnicmp
typedef
__int64
INT64
;
typedef
__int64
INT64
;
...
...
DesktopEditor/cximage/raw/dcraw.c
View file @
dfd54ff5
...
@@ -68,7 +68,9 @@
...
@@ -68,7 +68,9 @@
#include <sys/utime.h>
#include <sys/utime.h>
#include <winsock2.h>
#include <winsock2.h>
#pragma comment(lib, "ws2_32.lib")
#pragma comment(lib, "ws2_32.lib")
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#define snprintf _snprintf
#endif
#define strcasecmp stricmp
#define strcasecmp stricmp
#define strncasecmp strnicmp
#define strncasecmp strnicmp
typedef
__int64
INT64
;
typedef
__int64
INT64
;
...
...
DesktopEditor/cximage/raw/libdcr.c
View file @
dfd54ff5
...
@@ -113,7 +113,9 @@ static dcr_stream_ops dcr_stream_fileops = {
...
@@ -113,7 +113,9 @@ static dcr_stream_ops dcr_stream_fileops = {
#include <sys/utime.h>
#include <sys/utime.h>
#include <winsock2.h>
#include <winsock2.h>
#pragma comment(lib, "ws2_32.lib")
#pragma comment(lib, "ws2_32.lib")
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#define snprintf _snprintf
#endif
#define strcasecmp _stricmp
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define strncasecmp _strnicmp
typedef
__int64
INT64
;
typedef
__int64
INT64
;
...
...
DesktopEditor/raster/JBig2/source/LeptonLib/environ.h
View file @
dfd54ff5
...
@@ -269,7 +269,7 @@ enum {
...
@@ -269,7 +269,7 @@ enum {
/*------------------------------------------------------------------------*
/*------------------------------------------------------------------------*
* snprintf() renamed in MSVC *
* snprintf() renamed in MSVC *
*------------------------------------------------------------------------*/
*------------------------------------------------------------------------*/
#if
def _MSC_VER
#if
defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#define snprintf _snprintf
#endif
#endif
...
...
DesktopEditor/xml/build/qt/config.h
View file @
dfd54ff5
...
@@ -129,7 +129,9 @@ int isnan (double d) {
...
@@ -129,7 +129,9 @@ int isnan (double d) {
#if defined(_MSC_VER)
#if defined(_MSC_VER)
#define mkdir(p,m) _mkdir(p)
#define mkdir(p,m) _mkdir(p)
#if _MSC_VER < 1900
#define snprintf _snprintf
#define snprintf _snprintf
#endif
#if _MSC_VER < 1500
#if _MSC_VER < 1500
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
#endif
#endif
...
...
DesktopEditor/xml/build/vs2013/config.h
View file @
dfd54ff5
...
@@ -127,7 +127,9 @@ static int isnan (double d) {
...
@@ -127,7 +127,9 @@ static int isnan (double d) {
#if defined(_MSC_VER)
#if defined(_MSC_VER)
#define mkdir(p,m) _mkdir(p)
#define mkdir(p,m) _mkdir(p)
#if _MSC_VER < 1900
#define snprintf _snprintf
#define snprintf _snprintf
#endif
#if _MSC_VER < 1500
#if _MSC_VER < 1500
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
#endif
#endif
...
...
DesktopEditor/xml/libxml2/win32/wince/wincecompat.h
View file @
dfd54ff5
...
@@ -43,7 +43,9 @@ char *strerror(int errnum);
...
@@ -43,7 +43,9 @@ char *strerror(int errnum);
Macro'ed inexistant funtion names
Macro'ed inexistant funtion names
*/
*/
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#define snprintf _snprintf
#endif
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
#define perror(_t) MessageBox(NULL, _T("_t"), _T("Error/Warning"), MB_OK)
#define perror(_t) MessageBox(NULL, _T("_t"), _T("Error/Warning"), MB_OK)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment