Skip to content

Commit

Permalink
attempt to fix compile warnings under osx
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed Oct 21, 2011
1 parent d4c45e8 commit 1454167
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/shogun/classifier/svm/SVMLight.h
Expand Up @@ -38,8 +38,8 @@

namespace shogun
{
# define VERSION "V3.50 -- correct??"
# define VERSION_DATE "01.11.00 -- correct??"
//# define VERSION "V3.50 -- correct??"
//# define VERSION_DATE "01.11.00 -- correct??"

# define DEF_PRECISION 1E-14
# define MAXSHRINK 50000
Expand Down
5 changes: 4 additions & 1 deletion src/shogun/lib/common.h
Expand Up @@ -40,10 +40,13 @@
* If not supported make sure that your development environment is
* supporting ISO C99!
*/
#ifdef __STDC_FORMAT_MACROS
#include <inttypes.h>
#else
#define __STDC_FORMAT_MACROS 1
#include <inttypes.h>

#undef __STDC_FORMAT_MACROS
#endif

/**
* Implementations tend to follow IEEE754
Expand Down

0 comments on commit 1454167

Please sign in to comment.