Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / base / applications / network / ftp / fake.h
diff --git a/base/applications/network/ftp/fake.h b/base/applications/network/ftp/fake.h
new file mode 100644 (file)
index 0000000..a220098
--- /dev/null
@@ -0,0 +1,20 @@
+#define bcopy(s,d,l) memcpy((d),(s),(l))
+#define bzero(cp,l) memset((cp),0,(l))
+
+#define rindex strrchr
+#define index strchr
+
+#define getwd getcwd
+
+#define strcasecmp _stricmp
+#define strncasecmp _strnicmp
+
+#ifndef _TIMEZONE_DEFINED /* also in sys/time.h */
+#define _TIMEZONE_DEFINED
+struct timezone {
+  int tz_minuteswest;
+  int tz_dsttime;
+};
+
+  extern int __cdecl gettimeofday (struct timeval *p, struct timezone *z);
+#endif