Skip to content

Commit

Permalink
- fix windows build
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15101 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Feb 8, 2013
1 parent c019bb3 commit 2e31cf7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions SimulationRuntime/c/ModelicaExternalC/ModelicaInternal.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ void ModelicaNotExistError(const char* name) {
# include <dirent.h>
# endif

#if defined(_MSC_VER)
#if !defined(MAX_PATH)
#define MAX_PATH 260
#endif
#endif

#if !defined(PATH_MAX)
#define PATH_MAX MAX_PATH
#endif
Expand Down

0 comments on commit 2e31cf7

Please sign in to comment.