public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] osmtest - code cleanup: remove Windows specific items.
@ 2009-11-04 20:34 Stan C. Smith
       [not found] ` <53DFB8C213D246138BE8D3793204CE12-Zpru7NauK7drdx17CPfAsdBPR1lH4CV8@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Stan C. Smith @ 2009-11-04 20:34 UTC (permalink / raw)
  To: 'Sasha Khapyorsky'
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA,
	ofw-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5


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

Signed-off-by: stan smith <stan.smith-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

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
 /*

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-06 16:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-04 20:34 [PATCH] osmtest - code cleanup: remove Windows specific items Stan C. Smith
     [not found] ` <53DFB8C213D246138BE8D3793204CE12-Zpru7NauK7drdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2009-11-06 16:58   ` Sasha Khapyorsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox