aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xquartz/mach-startup/bundle-main.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-05-18 11:42:34 +0000
committermarha <marha@users.sourceforge.net>2010-05-18 11:42:34 +0000
commita457b80612b4f37be47099e9a0f38c4fc2a42252 (patch)
treec997f59413969bf8dde22001100abd9399685612 /xorg-server/hw/xquartz/mach-startup/bundle-main.c
parentb103ec11e433e85764d9b82eed17b9284056d164 (diff)
downloadvcxsrv-a457b80612b4f37be47099e9a0f38c4fc2a42252.tar.gz
vcxsrv-a457b80612b4f37be47099e9a0f38c4fc2a42252.tar.bz2
vcxsrv-a457b80612b4f37be47099e9a0f38c4fc2a42252.zip
xserver git update 18/10/2010
Diffstat (limited to 'xorg-server/hw/xquartz/mach-startup/bundle-main.c')
-rw-r--r--xorg-server/hw/xquartz/mach-startup/bundle-main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xorg-server/hw/xquartz/mach-startup/bundle-main.c b/xorg-server/hw/xquartz/mach-startup/bundle-main.c
index 42aa757ea..63a185fc8 100644
--- a/xorg-server/hw/xquartz/mach-startup/bundle-main.c
+++ b/xorg-server/hw/xquartz/mach-startup/bundle-main.c
@@ -75,7 +75,12 @@ extern int noPanoramiXExtension;
static char __crashreporter_info_buff__[4096] = {0};
static const char *__crashreporter_info__ = &__crashreporter_info_buff__[0];
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
+// This is actually a toolchain requirement, but I'm not sure the correct check,
+// but it should be fine to just only include it for Leopard and later. This line
+// just tells the linker to never strip this symbol (such as for space optimization)
asm (".desc ___crashreporter_info__, 0x10");
+#endif
static const char *__crashreporter_info__base = "X.Org X Server " XSERVER_VERSION " Build Date: " BUILD_DATE;