summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-07-05 21:36:02 +0200
committerGravatar waker <wakeroid@gmail.com>2009-07-05 21:36:02 +0200
commita55523d7f3758d1fa46b8f8d063c57229db27bf3 (patch)
tree7c3dcc5cff415dac6d3a21857a407fddef210366 /common.h
parent19208d2ef24773b6f50fc431628a575eae740a54 (diff)
[wip] multithreading
Diffstat (limited to 'common.h')
-rw-r--r--common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common.h b/common.h
new file mode 100644
index 00000000..63f0f010
--- /dev/null
+++ b/common.h
@@ -0,0 +1,7 @@
+#ifndef __COMMON_H
+#define __COMMON_H
+
+#define min(x,y) ((x)<(y)?(x):(y))
+#define max(x,y) ((x)>(y)?(x):(y))
+
+#endif // __COMMON_H