Skip to content

Commit

Permalink
Fixes for VC++8
Browse files Browse the repository at this point in the history
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@180 d0cd1f9f-072b-0410-8dd7-cf729c803f20
  • Loading branch information
theraysmith committed Aug 14, 2008
1 parent b950752 commit 35deb0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ccutil/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
#ifdef __MSW32__
#define SIGNED
#define snprintf _snprintf
#if (_MSC_VER <= 1400)
#define vsnprintf _vsnprintf
#endif
#else
#define __UNIX__
#include <limits.h>
Expand Down
2 changes: 2 additions & 0 deletions viewer/svutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
#ifdef WIN32
#include <windows.h>
#define snprintf _snprintf
#if (_MSC_VER <= 1400)
#define vsnprintf _vsnprintf
#endif
#pragma warning(disable:4786)
#else
#include <pthread.h>
Expand Down

0 comments on commit 35deb0e

Please sign in to comment.