[DAPL] 2.0 - default DAT conf file C:\DAT\dat.conf
authorstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 10 Sep 2007 23:12:06 +0000 (23:12 +0000)
committerstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 10 Sep 2007 23:12:06 +0000 (23:12 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@797 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/dapl2/dat/udat/udat_sr_parser.c

index 44c068b..2ead831 100644 (file)
  *********************************************************************/\r
 \r
 #define DAT_SR_CONF_ENV                "DAT_OVERRIDE"\r
+#if defined(_WIN32) || defined(_WIN64)\r
+#define DAT_SR_CONF_DEFAULT            "C:\\DAT\\dat.conf"\r
+#else\r
 #define DAT_SR_CONF_DEFAULT            "/etc/dat.conf"\r
+#endif\r
 \r
 #define DAT_SR_TOKEN_THREADSAFE        "threadsafe"\r
 #define DAT_SR_TOKEN_NONTHREADSAFE     "nonthreadsafe"\r