diff --git a/public/filesystem_init.cpp b/public/filesystem_init.cpp index 500f5703..f503d19c 100644 --- a/public/filesystem_init.cpp +++ b/public/filesystem_init.cpp @@ -358,7 +358,11 @@ bool FileSystem_GetExecutableDir( char *exedir, int exeDirLen ) Q_FixSlashes( exedir ); } # endif +# ifdef POSIX Q_strncpy( exedir, LIBDIR, exeDirLen ); +# else + exedir = "bin"; +# endif #endif return true;