Browse Source

more linux fixes

ncannasse 7 years ago
parent
commit
af0d998169
2 changed files with 2 additions and 1 deletions
  1. 1 0
      Makefile
  2. 1 1
      src/hl.h

+ 1 - 0
Makefile

@@ -86,6 +86,7 @@ install:
 	cp hl /usr/bin
 	cp libhl.${LIBEXT} /usr/lib
 	cp *.hdll /usr/lib
+	cp src/hl.h src/hlc.h src/hlc_main.c /usr/include
 
 install_lib:
 	cp libhl.${LIBEXT} /usr/local/lib

+ 1 - 1
src/hl.h

@@ -102,7 +102,7 @@
 #	define IMPORT __declspec( dllimport )
 #else
 #	define EXPORT
-#	define IMPORT
+#	define IMPORT extern
 #endif
 
 #ifdef HL_64