[ofw] [PATCH] osmtest - code cleanup: remove Windows specific items.

Stan C. Smith stan.smith at intel.com
Wed Nov 4 12:34:04 PST 2009


Remove #ifdef WIN32, #else & #endif. Just use PATH_MAX.

Signed-off-by: stan smith <stan.smith at intel.com>

diff --git a/opensm/osmtest/include/osmtest_base.h b/opensm/osmtest/include/osmtest_base.h
index cda3a31..6c980a3 100644
--- a/opensm/osmtest/include/osmtest_base.h
+++ b/opensm/osmtest/include/osmtest_base.h
@@ -48,11 +48,7 @@
 #endif
 
 #define OSMTEST_MAX_LINE_LEN	120
-#ifdef WIN32
-#define OSMTEST_FILE_PATH_MAX	4096
-#else
 #define OSMTEST_FILE_PATH_MAX	PATH_MAX
-#endif
 
 #define STRESS_SMALL_RMPP_THR 100000
 /*




More information about the ofw mailing list