Windows build fix.
authorSander Pronk <pronk@cbr.su.se>
Thu, 21 Apr 2011 16:02:16 +0000 (18:02 +0200)
committerSander Pronk <pronk@cbr.su.se>
Thu, 21 Apr 2011 16:02:16 +0000 (18:02 +0200)
src/gmxlib/thread_mpi/impl.h
src/gmxlib/thread_mpi/tmpi_init.c

index 7244bcbec3139851a684d896fd13ea1438dae305..cb39f26a86135b9297d769eac9665b33510a33dc 100644 (file)
@@ -689,6 +689,7 @@ void tMPI_Trace_print(const char *fmt, ...);
 /* error-checking malloc/realloc: */
 void *tMPI_Malloc(size_t size);
 void *tMPI_Realloc(void *p, size_t size);
+void tMPI_Free(void *p);
 
 
 /* get the current thread structure pointer */
index 23b7a8bb65f2b0dd2918201cec57684382db79af..a0dea197d850a4e07aaf668cc91dd07dc4ddef8d 100644 (file)
@@ -159,6 +159,11 @@ void *tMPI_Realloc(void *p, size_t size)
     return ret;
 }
 
+void tMPI_Free(void *p)
+{
+    free(p);
+}
+
 
 #if 0
 struct tmpi_thread *tMPI_Get_current(void)