Skip to content

Commit

Permalink
More MSVC fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jankatins committed Jul 18, 2016
1 parent e5f9ac0 commit df7bd10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gengraph_box_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@
#ifndef _BOX_LIST_H
#define _BOX_LIST_H

#ifndef _MSC_VER
#ifndef register
#define register
#endif
#endif

namespace gengraph {

Expand Down
2 changes: 2 additions & 0 deletions src/gengraph_definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@
#ifndef DEFINITIONS_H
#define DEFINITIONS_H

#ifndef _MSC_VER
#ifndef register
#define register
#endif
#endif

#include <stdio.h>
#include <math.h>
Expand Down

0 comments on commit df7bd10

Please sign in to comment.