]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - platform.h
Make it valid C++ code, such that it can compile as C++ code.
[xonotic/gmqcc.git] / platform.h
index bb7656816d9a84e9f5dff928d96fbe3ac61f6fec..50b119a6beb12c0ecc3d739dec673397ed78c898 100644 (file)
@@ -216,7 +216,7 @@ const char *platform_tmpnam(char *str);
  *  pointer. The return value is *NULL* if `var` is not found in the
  *  enviroment table.
  */
-const char *platform_getenv(char *var);
+const char *platform_getenv(const char *var);
 
 /*
  * Function: platform_vasprintf