Initial Patch of Auction House bot rev. 135
[auctionmangos.git] / dep / ACE_wrappers / ace / os_include / sys / os_shm.h
blob79d502fec0dc0beb3e331dfbb5fb045ddb49c64b
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file os_shm.h
7 * XSI shared memory facility
9 * $Id: os_shm.h 80826 2008-03-04 14:51:23Z wotte $
11 * @author Don Hinton <dhinton@dresystems.com>
12 * @author This code was originally in various places including ace/OS.h.
14 //=============================================================================
16 #ifndef ACE_OS_INCLUDE_SYS_OS_SHM_H
17 #define ACE_OS_INCLUDE_SYS_OS_SHM_H
19 #include /**/ "ace/pre.h"
21 #include "ace/config-lite.h"
23 #if !defined (ACE_LACKS_PRAGMA_ONCE)
24 # pragma once
25 #endif /* ACE_LACKS_PRAGMA_ONCE */
27 #include "ace/os_include/sys/os_ipc.h"
29 #if !defined (ACE_LACKS_SYS_SHM_H)
30 # include /**/ <sys/shm.h>
31 #endif /* !ACE_LACKS_SYS_SHM_H */
33 // Place all additions (especially function declarations) within extern "C" {}
34 #ifdef __cplusplus
35 extern "C"
37 #endif /* __cplusplus */
39 // Declare opaque type. Needed for ACE_OS wrappers on systems
40 // without SysV IPC.
41 struct shmid_ds;
43 #ifdef __cplusplus
45 #endif /* __cplusplus */
47 #include /**/ "ace/post.h"
48 #endif /* ACE_OS_INCLUDE_SYS_OS_SHM_H */