diff options
Diffstat (limited to 'src/mesa/drivers/dri/common/xmlconfig.c')
-rw-r--r-- | src/mesa/drivers/dri/common/xmlconfig.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/common/xmlconfig.c b/src/mesa/drivers/dri/common/xmlconfig.c index f5e07de4ede..698abd8fca0 100644 --- a/src/mesa/drivers/dri/common/xmlconfig.c +++ b/src/mesa/drivers/dri/common/xmlconfig.c @@ -34,6 +34,7 @@ #include <expat.h> #include <fcntl.h> #include <unistd.h> +#define __USE_GNU /* defines program_invocation_short_name */ #include <errno.h> #include "imports.h" #include "dri_util.h" @@ -900,11 +901,7 @@ void driParseConfigFiles (driOptionCache *cache, const driOptionCache *info, userData.cache = cache; userData.screenNum = screenNum; userData.driverName = driverName; -#ifndef _SOLO userData.execName = GET_PROGRAM_NAME(); -#else - userData.execName = "Solo"; -#endif if ((home = getenv ("HOME"))) { GLuint len = strlen (home); |