00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 #ifndef ACE_OS_INCLUDE_SYS_OS_IPC_H
00017 #define ACE_OS_INCLUDE_SYS_OS_IPC_H
00018 
00019 #include  "ace/pre.h"
00020 
00021 #include "ace/config-lite.h"
00022 
00023 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00024 # pragma once
00025 #endif 
00026 
00027 #include "ace/os_include/sys/os_types.h"
00028 
00029 #if !defined (ACE_LACKS_SYS_IPC_H)
00030 #  include  <sys/ipc.h>
00031 #endif 
00032 
00033 
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif 
00038 
00039 #if defined (ACE_WIN32)
00040 #  define ACE_INVALID_SEM_KEY 0
00041 #else 
00042 #  define ACE_INVALID_SEM_KEY -1
00043 #endif 
00044 
00045 #if !defined (IPC_PRIVATE)
00046 #  define IPC_PRIVATE ACE_INVALID_SEM_KEY
00047 #endif 
00048 
00049 #if !defined (IPC_STAT)
00050 #  define IPC_STAT 0
00051 #endif 
00052 
00053 #if !defined (IPC_CREAT)
00054 #  define IPC_CREAT 0
00055 #endif 
00056 
00057 #if !defined (IPC_NOWAIT)
00058 #  define IPC_NOWAIT 0
00059 #endif 
00060 
00061 #if !defined (IPC_RMID)
00062 #  define IPC_RMID 0
00063 #endif 
00064 
00065 #if !defined (IPC_EXCL)
00066 #  define IPC_EXCL 0
00067 #endif 
00068 
00069 #ifdef __cplusplus
00070 }
00071 #endif 
00072 
00073 #include  "ace/post.h"
00074 #endif