aboutsummaryrefslogtreecommitdiff
path: root/externals/mysql/extlib/dbug/example2.c
diff options
context:
space:
mode:
authorRat <none@none>2010-06-20 17:13:10 +0200
committerRat <none@none>2010-06-20 17:13:10 +0200
commite0a5d0011605404adb384abd37d88513ec8f7088 (patch)
treed1ca235cbe48b0448082074dc2dbc4b1f5b3fa85 /externals/mysql/extlib/dbug/example2.c
parentfc0dc9556dd5a0b19184af5b77c342831a3e9a80 (diff)
added mysql source for win build
--HG-- branch : trunk
Diffstat (limited to 'externals/mysql/extlib/dbug/example2.c')
-rw-r--r--externals/mysql/extlib/dbug/example2.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/externals/mysql/extlib/dbug/example2.c b/externals/mysql/extlib/dbug/example2.c
new file mode 100644
index 00000000000..75fc1321b13
--- /dev/null
+++ b/externals/mysql/extlib/dbug/example2.c
@@ -0,0 +1,15 @@
+int debug = 0;
+
+main (argc, argv)
+int argc;
+char *argv[];
+{
+ /* printf ("argv = %x\n", argv) */
+ if (debug) printf ("argv[0] = %d\n", argv[0]);
+ /*
+ * Rest of program
+ */
+#ifdef DEBUG
+ printf ("== done ==\n");
+#endif
+}