This commit is contained in:
Vincent Wei
2020-01-08 15:21:13 +08:00
parent db08ab931e
commit 8bd3f22fd5
2 changed files with 6 additions and 9 deletions
+6 -1
View File
@@ -58,6 +58,11 @@
#include "gdi.h"
#include "constants.h"
#if IS_COMPOSITING_SCHEMA
#include <sys/types.h>
#include <unistd.h>
#endif
#define DISABLE_THREADS
#define GAL_mutex int
@@ -526,7 +531,7 @@ void GAL_FreeSharedSurfaceData (GAL_Surface *surface);
GAL_Surface *GAL_AttachSharedRGBSurface (int fd, size_t map_size,
Uint32 flags, BOOL with_rw);
void GAL_DettachSharedRGBSurfaceData (GAL_Surface *surface);
void GAL_DettachSharedSurfaceData (GAL_Surface *surface);
#else /* _MGUSE_SHAREDFD */
-8
View File
@@ -596,14 +596,6 @@ void TerminateGUI (int rcByGUI)
client_ClientCleanup ();
}
#endif
#if IS_COMPOSITING_SCHEMA
mg_TerminateSemManager();
#endif
mg_TerminateMisc ();
mg_TerminateFixStr ();
mg_TerminateSliceAllocator();
}
#endif /* ifndef _MG_MINIMALGDI */