Use cygwin_{shm,ipc}.h instead of /sys/{shm,ipc}.h throughout.
* sys/ipc.h: Remove. * sys/shm.h: Remove. * cygwin_ipc.h: New file. * cygwin_shm.h: New file.
This commit is contained in:
		| @@ -37,10 +37,10 @@ details. */ | |||||||
| //#include "thread.h" | //#include "thread.h" | ||||||
| #ifndef __INSIDE_CYGWIN__ | #ifndef __INSIDE_CYGWIN__ | ||||||
| #define __INSIDE_CYGWIN__ | #define __INSIDE_CYGWIN__ | ||||||
| #include <sys/shm.h> | #include "cygwin_shm.h" | ||||||
| #undef __INSIDE_CYGWIN__ | #undef __INSIDE_CYGWIN__ | ||||||
| #else | #else | ||||||
| #include <sys/shm.h> | #include "cygwin_shm.h" | ||||||
| #endif | #endif | ||||||
| //#include "perprocess.h" | //#include "perprocess.h" | ||||||
| #include <threaded_queue.h> | #include <threaded_queue.h> | ||||||
|   | |||||||
| @@ -1,3 +1,11 @@ | |||||||
|  | 2002-06-23  Christopher Faylor  <cgf@redhat.com> | ||||||
|  |  | ||||||
|  | 	Use cygwin_{shm,ipc}.h instead of /sys/{shm,ipc}.h throughout. | ||||||
|  | 	* sys/ipc.h: Remove. | ||||||
|  | 	* sys/shm.h: Remove. | ||||||
|  | 	* cygwin_ipc.h: New file. | ||||||
|  | 	* cygwin_shm.h: New file. | ||||||
|  |  | ||||||
| 2002-06-23  Christopher Faylor  <cgf@redhat.com> | 2002-06-23  Christopher Faylor  <cgf@redhat.com> | ||||||
|  |  | ||||||
| 	* cygwin.sc: Add recent changes from ld sources. | 	* cygwin.sc: Add recent changes from ld sources. | ||||||
|   | |||||||
| @@ -37,10 +37,10 @@ details. */ | |||||||
| //#include "thread.h" | //#include "thread.h" | ||||||
| #ifndef __INSIDE_CYGWIN__ | #ifndef __INSIDE_CYGWIN__ | ||||||
| #define __INSIDE_CYGWIN__ | #define __INSIDE_CYGWIN__ | ||||||
| #include <sys/shm.h> | #include "cygwin_shm.h" | ||||||
| #undef __INSIDE_CYGWIN__ | #undef __INSIDE_CYGWIN__ | ||||||
| #else | #else | ||||||
| #include <sys/shm.h> | #include "cygwin_shm.h" | ||||||
| #endif | #endif | ||||||
| //#include "perprocess.h" | //#include "perprocess.h" | ||||||
| #include <threaded_queue.h> | #include <threaded_queue.h> | ||||||
|   | |||||||
							
								
								
									
										0
									
								
								winsup/cygwin/include/sys/ipc.h → winsup/cygwin/cygwin_ipc.h
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								winsup/cygwin/include/sys/ipc.h → winsup/cygwin/cygwin_ipc.h
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
								
								
									
										2
									
								
								winsup/cygwin/include/sys/shm.h → winsup/cygwin/cygwin_shm.h
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										2
									
								
								winsup/cygwin/include/sys/shm.h → winsup/cygwin/cygwin_shm.h
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							| @@ -17,7 +17,7 @@ extern "C" | |||||||
| #ifndef _SYS_SHM_H | #ifndef _SYS_SHM_H | ||||||
| #define _SYS_SHM_H | #define _SYS_SHM_H | ||||||
| 
 | 
 | ||||||
| #include <sys/ipc.h> | #include "cygwin_ipc.h" | ||||||
| 
 | 
 | ||||||
| #define SHM_RDONLY 1 | #define SHM_RDONLY 1 | ||||||
| /* 64 Kb was hardcoded for x86. MS states this may change, but we need it in the header
 | /* 64 Kb was hardcoded for x86. MS states this may change, but we need it in the header
 | ||||||
| @@ -11,7 +11,7 @@ | |||||||
|    details. */ |    details. */ | ||||||
|  |  | ||||||
| #include "winsup.h" | #include "winsup.h" | ||||||
| #include <sys/ipc.h> | #include "cygwin_ipc.h" | ||||||
| #include <sys/stat.h> | #include <sys/stat.h> | ||||||
|  |  | ||||||
| extern "C" | extern "C" | ||||||
|   | |||||||
| @@ -22,7 +22,7 @@ details. */ | |||||||
| #include "cygheap.h" | #include "cygheap.h" | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
| #include "thread.h" | #include "thread.h" | ||||||
| #include <sys/shm.h> | #include "cygwin_shm.h" | ||||||
| #include "cygserver_shm.h" | #include "cygserver_shm.h" | ||||||
|  |  | ||||||
| // FIXME IS THIS CORRECT | // FIXME IS THIS CORRECT | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user