Skip to content

Commit

Permalink
- fix MSVC includes
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24784 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Feb 25, 2015
1 parent 7458ec6 commit c1457fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions SimulationRuntime/c/util/omc_msvc.c
Expand Up @@ -161,8 +161,14 @@ unsigned int alarm (unsigned int seconds)

#if defined(__MINGW32__) || defined(_MSC_VER)

#if defined(__MINGW32__)
#include <dirent.h>
#include <unistd.h>
#endif

#if defined(_MSC_VER)
#include <direct.h> /* for mkdir */
#endif

// Do not free the result
char* _getUUIDStr(void)
Expand Down

0 comments on commit c1457fe

Please sign in to comment.