summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/xmlconfig.c
diff options
context:
space:
mode:
authorJon Smirl <[email protected]>2004-07-04 20:33:48 +0000
committerJon Smirl <[email protected]>2004-07-04 20:33:48 +0000
commitaaebfc88c08c79cd70f1e0d1d262a25e9ded47d1 (patch)
tree9c1aa0013c88e370457ea47aea3e8baccec87c52 /src/mesa/drivers/dri/common/xmlconfig.c
parent2371033bbaf6e7477bfa893654a0467a084f335b (diff)
Patch removes _SOLO definition needed for mesa-solo. mesa-solo
uses the NEW_INTERFACE now so _SOLO isn't necessary anymore. Tested with the hardware that I own.
Diffstat (limited to 'src/mesa/drivers/dri/common/xmlconfig.c')
-rw-r--r--src/mesa/drivers/dri/common/xmlconfig.c5
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);