Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
properly disable pthreads on windows (+cleanups)
[simgrid.git] / src / xbt / xbt_sg_stubs.c
index bd85f59..c8d83be 100644 (file)
@@ -9,7 +9,7 @@
 /* In RL, java is useless, and threads are always part of the picture,      */
 /*  ucontext never */
 
-/* Copyright (c) 2007-2010, 2013. The SimGrid Team.
+/* Copyright (c) 2007-2010, 2013-2014. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -22,7 +22,7 @@
 
 #ifndef CONTEXT_THREADS
 #ifndef WIN32
-#ifdef HAVE_PTHREAD_H
+#ifdef HAVE_PTHREAD
 /* xbt_threads is loaded in libsimgrid when they are used to implement the xbt_context.
  * The decision (and the loading) is made in xbt/context.c.
  */