The Haiku startup code now exports a symbol called __gHaikuStartupCode. This can
be used to determine wether or not the executable was linked for/under Haiku or not (ie. BeOS). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19011 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -24,6 +24,8 @@ extern char **argv_save;
|
|||||||
extern thread_id __main_thread_id;
|
extern thread_id __main_thread_id;
|
||||||
extern char **environ;
|
extern char **environ;
|
||||||
|
|
||||||
|
bool __gHaikuStartupCode = true;
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
_start(int argc, char **argv, char **environment)
|
_start(int argc, char **argv, char **environment)
|
||||||
|
|||||||
Reference in New Issue
Block a user