Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : get hash of local and global variables which are not pointers
[simgrid.git] / src / win32 / config.h
1 #ifndef __XBT_WIN32_CONFIG_H__
2 #define __XBT_WIN32_CONFIG_H__
3
4
5 /* config.h - simgrid config selection for windows platforms. */
6
7 /* Copyright (c) 2006, 2007, 2008, 2010. The SimGrid Team.
8  * All rights reserved.                                                     */
9
10 /* This program is free software; you can redistribute it and/or modify it
11  * under the terms of the license (GNU LGPL) which comes with this package. */
12
13 /* 
14  * config selection. 
15 */
16 #if defined(__GNUC__)
17         /* data comes from autoconf when using gnuc (cross-compiling?) */
18   # include "internal_config.h"
19   #ifndef _XBT_WIN32
20     typedef unsigned int uint32_t;
21   #endif
22 # else
23   # error "Unknown compiler - please report the problems to the main simgrid mailing list (http://gforge.inria.fr/mail/?group_id=12)"
24 #endif
25
26 #ifndef _XBT_VISUALC_COMPILER
27   #ifndef EWOULDBLOCK
28   #define EWOULDBLOCK WSAEWOULDBLOCK
29   #endif
30
31   #ifndef EINPROGRESS
32   #define EINPROGRESS WSAEINPROGRESS
33   #endif
34
35   #ifndef ETIMEDOUT
36   #define ETIMEDOUT   WSAETIMEDOUT
37   #endif
38 #endif
39
40 #ifdef S_IRGRP
41   #undef S_IRGRP
42 #endif
43
44 #define S_IRGRP 0
45
46 #ifdef S_IWGRP
47   #undef S_IWGRP
48 #endif
49
50 #define S_IWGRP 0
51
52 #endif                          /* #ifndef __XBT_WIN32_CONFIG_H__ */