summaryrefslogtreecommitdiff
path: root/db3x_autobackups/commonheaders.h
diff options
context:
space:
mode:
Diffstat (limited to 'db3x_autobackups/commonheaders.h')
-rw-r--r--db3x_autobackups/commonheaders.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/db3x_autobackups/commonheaders.h b/db3x_autobackups/commonheaders.h
index 521a985..e1cae64 100644
--- a/db3x_autobackups/commonheaders.h
+++ b/db3x_autobackups/commonheaders.h
@@ -72,3 +72,5 @@ extern HANDLE hDbFile;
#else
#define mir_i64(x) (x##i64)
#endif
+
+#define NEWSTR_ALLOCA(A) (A==NULL)?NULL:strcpy((char*)alloca(strlen(A)+1),A)