Skip to content

Commit

Permalink
- Fix OSX compilation using macports gcc
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9625 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Aug 10, 2011
1 parent 0fe2bee commit 8189f95
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Parser/parse.c
Expand Up @@ -28,6 +28,12 @@
*
*/

/* Include standard headers before we do odd things with the __cplusplus define */
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>

#if !defined(_MSC_VER)
#ifdef __cplusplus
/* Make sure we don't use any C++ features anywhere */
Expand All @@ -40,11 +46,6 @@ extern "C" {
#define bool int
#endif

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>

#include <MetaModelica_Lexer.h>
#include <Modelica_3_Lexer.h>
#include <ModelicaParser.h>
Expand Down

0 comments on commit 8189f95

Please sign in to comment.