Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
load public config from internal config
[simgrid.git] / src / portable.h
1 /* portable -- header loading to write portable code within SimGrid         */
2
3 /* Copyright (c) 2004, 2016. The SimGrid Team. All rights reserved.         */
4
5 /* This program is free software; you can redistribute it and/or modify it
6  * under the terms of the license (GNU LGPL) which comes with this package. */
7
8 #ifndef SIMGRID_PORTABLE_H
9 #define SIMGRID_PORTABLE_H
10
11 #include "src/internal_config.h"  /* some information about the environment */
12
13 #ifdef _WIN32
14 # include <windows.h>
15 #endif
16
17 #ifdef HAVE_SYS_PARAM_H
18 # include <sys/param.h>
19 #endif
20 #ifdef HAVE_SYS_SYSCTL_H
21 # include <sys/sysctl.h>
22 #endif
23
24 /* File handling */
25 #ifdef _WIN32
26   #ifndef S_IRGRP
27     #define S_IRGRP 0
28   #endif
29 #endif
30 #endif                          /* SIMGRID_PORTABLE_H */