mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 12:49:21 +00:00
darwin: Correct inline assembly for ___crashreporter_info__
It was missing an underscore. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
@@ -75,7 +75,7 @@ extern int noPanoramiXExtension;
|
||||
|
||||
static char __crashreporter_info_buff__[4096] = {0};
|
||||
static const char *__crashreporter_info__ = &__crashreporter_info_buff__[0];
|
||||
asm (".desc __crashreporter_info__, 0x10");
|
||||
asm (".desc ___crashreporter_info__, 0x10");
|
||||
|
||||
static const char *__crashreporter_info__base = "X.Org X Server " XSERVER_VERSION " Build Date: " BUILD_DATE;
|
||||
|
||||
|
||||
2
os/log.c
2
os/log.c
@@ -120,7 +120,7 @@ static Bool needBuffer = TRUE;
|
||||
#ifdef __APPLE__
|
||||
static char __crashreporter_info_buff__[4096] = {0};
|
||||
static const char *__crashreporter_info__ = &__crashreporter_info_buff__[0];
|
||||
asm (".desc __crashreporter_info__, 0x10");
|
||||
asm (".desc ___crashreporter_info__, 0x10");
|
||||
#endif
|
||||
|
||||
/* Prefix strings for log messages. */
|
||||
|
||||
Reference in New Issue
Block a user