Skip to content

Commit

Permalink
- fix Windows build (htonl is in some other header)
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18789 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Jan 26, 2014
1 parent 493a89f commit b57e06c
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -36,7 +36,11 @@
#include <string.h>
#include <assert.h>

#if defined(__MINGW32__) || defined(_MSC_VER)
#include <winsock2.h> /* htonl */
#else
#include <arpa/inet.h> /* htonl */
#endif

#define PARAM_TABLE_NAME "params"
#define CONT_TABLE_NAME "continuous"
Expand Down

0 comments on commit b57e06c

Please sign in to comment.