Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 1 Oct 2006 18:10:55 +0000 (18:10 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 1 Oct 2006 18:10:55 +0000 (18:10 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2849 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/context_win32.c

index cdfa1da..4781823 100644 (file)
@@ -16,8 +16,9 @@
 /* The original author granted me (Martin Quinson) to redistribute this work 
    under the LGPL licence, what I here do. */
 
 /* The original author granted me (Martin Quinson) to redistribute this work 
    under the LGPL licence, what I here do. */
 
-/*#include "context_win32.h" Not needed since this file is to be included*/
-#include "context_win32.h"
+#include "context_win32.h" /* Current file is to be included when cross-compiling, 
+                             but not during native builds. So this include is needed */
+
 int getcontext(ucontext_t *ucp)
 {
        int ret;
 int getcontext(ucontext_t *ucp)
 {
        int ret;