replace erand48 to CrnDrand() for VC++
authorGengbin Zheng <gzheng@illinois.edu>
Sat, 24 Jan 2009 04:49:50 +0000 (04:49 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Sat, 24 Jan 2009 04:49:50 +0000 (04:49 +0000)
examples/bigsim/emulator/littleMD/Handlers.C

index 218b3e42f086b543cf92f9fa92a5c4c662058840..b3c37e05dedecfcf67767ff174baeb2f60810e3e 100644 (file)
@@ -11,6 +11,9 @@
 #include "blue.h"
 #include "bgMD.h"
 
+#ifdef _MSC_VER
+#define erand48(x) CrnDrand()
+#endif
 
 /*******************************************************************************
                UTILITY FUNCTIONS