summaryrefslogtreecommitdiff
path: root/win32/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/param.h')
-rw-r--r--win32/param.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/win32/param.h b/win32/param.h
new file mode 100644
index 0000000..3d0da1e
--- /dev/null
+++ b/win32/param.h
@@ -0,0 +1,16 @@
+
+/*****************************************************************************
+ * *
+ * sys/param.c *
+ * *
+ * Freely redistributable and modifiable. Use at your own risk. *
+ * *
+ * Copyright 1994 The Downhill Project *
+ * *
+ *****************************************************************************/
+#ifndef MAXPATHLEN
+#define MAXPATHLEN _MAX_PATH
+#endif
+#define MAXHOSTNAMELEN 64
+#define howmany(x,y) (((x)+((y)-1))/(y))
+#define roundup(x,y) ((((x)+((y)-1))/(y))*(y))