Continue of MSVC-compiling changes....
[reactos.git] / reactos / ntoskrnl / rtl / i386 / exception.c
index af720cf..85b06dd 100755 (executable)
@@ -1,4 +1,4 @@
-/* $Id: exception.c,v 1.8 2003/07/27 11:49:32 dwelch Exp $
+/* $Id: exception.c,v 1.9 2003/12/30 18:52:06 fireball Exp $
  *
  * COPYRIGHT:         See COPYING in the top level directory
  * PROJECT:           ReactOS kernel
@@ -26,6 +26,13 @@ MsvcrtDebug(ULONG Value)
 }
 #endif
 
+#if !defined(_MSC_VER)
+/*
+ * When compiling this file with MSVC itself, don't compile these functions.
+ * They are replacements for MS compiler and/or C runtime library functions,
+ * which are already provided by the MSVC compiler and C runtime library.
+ */
+
 /*
  * @implemented
  */
@@ -64,6 +71,8 @@ __ret_label:
    return;
 }
 
+#endif /* _MSC_VER */
+
 
 /* Implemented in except.s */