[NFSD][TELNETD][LIBTIRPC][MAN] Don't hardcode C:\ReactOS (#2334)
[reactos.git] / dll / 3rdparty / libtirpc / tirpc / netconfig.h
index 8461a6b..21f2820 100644 (file)
@@ -3,8 +3,13 @@
 
 //#include <features.h>
 
+#ifdef __REACTOS__
+    #undef NETCONFIG
+    extern char NETCONFIG[];
+#else
 // XXX Should be in, or come from, the registry!!!
 #define NETCONFIG "C:\\ReactOS\\System32\\drivers\\etc\\netconfig"
+#endif
 #define NETPATH          "NETPATH"
 
 struct netconfig {