Skip to content

Commit

Permalink
Commented out WINDOWS preprocessor directives to compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwinning committed Apr 1, 2016
1 parent e3ad6df commit b713744
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Thirdparty/g2o/g2o/stuff/os_specific.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include "os_specific.h"

#ifdef WINDOWS
//#ifdef WINDOWS

int vasprintf(char** strp, const char* fmt, va_list ap)
{
Expand Down Expand Up @@ -61,4 +61,4 @@ int vasprintf(char** strp, const char* fmt, va_list ap)
}


#endif
//#endif
4 changes: 2 additions & 2 deletions Thirdparty/g2o/g2o/stuff/os_specific.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#ifndef G2O_OS_SPECIFIC_HH_
#define G2O_OS_SPECIFIC_HH_

#ifdef WINDOWS
//#ifdef WINDOWS
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
Expand All @@ -53,4 +53,4 @@ int vasprintf(char** strp, const char* fmt, va_list ap);
// nothing to do on real operating systems
#endif

#endif
//#endif
2 changes: 1 addition & 1 deletion Thirdparty/g2o/g2o/stuff/string_tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#include "string_tools.h"
#include "os_specific.h"

#include "macros.h"

#include <cctype>
Expand Down
3 changes: 2 additions & 1 deletion Thirdparty/g2o/g2o/stuff/string_tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@

#ifndef G2O_STRING_TOOLS_H
#define G2O_STRING_TOOLS_H

#include "os_specific.h"
#include <string>
#include <sstream>
#include <cstdlib>
#include <vector>

#include "macros.h"


namespace g2o {

/** @addtogroup utils **/
Expand Down

0 comments on commit b713744

Please sign in to comment.