From 1a73ba9801fad76021bd6263f1b0c8922cc0f103 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 13 Dec 2007 19:52:03 +0000 Subject: [PATCH] fixed a bug where MM:S tried to manually declare errno - bad idea for platform compatibility --HG-- branch : sourcemm-1.4.3 extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.3%40591 --- sourcemm/oslink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcemm/oslink.h b/sourcemm/oslink.h index 77e4b75..7c317ed 100644 --- a/sourcemm/oslink.h +++ b/sourcemm/oslink.h @@ -56,7 +56,7 @@ #endif #if defined __linux__ - extern int errno; + #include int GetLastError(); #endif