Mercurial > hg > quicktun
comparison src/run.combined.c @ 30:6f0e6b7dc088
Fixed build script to support multiple abis on one machine, bugfix in code, minor improvements
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Thu, 04 Aug 2011 18:17:06 +0200 |
parents | 5ba185ca7102 |
children | d9f5caa13898 |
comparison
equal
deleted
inserted
replaced
29:7c5e5be876bb | 30:6f0e6b7dc088 |
---|---|
23 authors and should not be interpreted as representing official policies, either expressed | 23 authors and should not be interpreted as representing official policies, either expressed |
24 or implied, of Ivo Smits.*/ | 24 or implied, of Ivo Smits.*/ |
25 | 25 |
26 #include "common.c" | 26 #include "common.c" |
27 | 27 |
28 struct qtproto qtproto_raw; | 28 extern struct qtproto qtproto_raw; |
29 struct qtproto qtproto_nacl0; | 29 extern struct qtproto qtproto_nacl0; |
30 struct qtproto qtproto_nacltai; | 30 extern struct qtproto qtproto_nacltai; |
31 | 31 |
32 #ifdef DEBIAN_BINARY | 32 #ifdef DEBIAN_BINARY |
33 char* getenvdeb(const char* name) { | 33 char* getenvdeb(const char* name) { |
34 char tmp[1024] = "IF_QT_"; | 34 char tmp[1024] = "IF_QT_"; |
35 if (strcmp(name, "INTERFACE") == 0) return getenv("IFACE"); | 35 if (strcmp(name, "INTERFACE") == 0) return getenv("IFACE"); |
65 return qtrun(&qtproto_nacl0); | 65 return qtrun(&qtproto_nacl0); |
66 } else { | 66 } else { |
67 return qtrun(&qtproto_raw); | 67 return qtrun(&qtproto_raw); |
68 } | 68 } |
69 } | 69 } |
70 |