mirror of https://github.com/fltk/fltk
Don't need path_find() on Mac OS X...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
c8f1e91448
commit
28b3753946
|
@ -50,8 +50,10 @@
|
|||
// Local functions...
|
||||
//
|
||||
|
||||
#ifndef WIN32
|
||||
#if !defined(WIN32) && !defined(__APPLE__)
|
||||
static char *path_find(const char *program, char *filename, int filesize);
|
||||
#endif // !WIN32 && !__APPLE__
|
||||
#ifndef WIN32
|
||||
static int run_program(const char *program, char **argv, char *msg, int msglen);
|
||||
#endif // !WIN32
|
||||
|
||||
|
@ -228,7 +230,7 @@ fl_open_uri(const char *uri, char *msg, int msglen) {
|
|||
}
|
||||
|
||||
|
||||
#ifndef WIN32
|
||||
#if !defined(WIN32) && !defined(__APPLE__)
|
||||
// Find a program in the path...
|
||||
static char *path_find(const char *program, char *filename, int filesize) {
|
||||
const char *path; // Search path
|
||||
|
@ -260,8 +262,10 @@ static char *path_find(const char *program, char *filename, int filesize) {
|
|||
|
||||
return 0;
|
||||
}
|
||||
#endif // !WIN32 && !__APPLE__
|
||||
|
||||
|
||||
#ifndef WIN32
|
||||
// Run the specified program, returning 1 on success and 0 on failure
|
||||
static int
|
||||
run_program(const char *program, char **argv, char *msg, int msglen) {
|
||||
|
|
Loading…
Reference in New Issue