summaryrefslogtreecommitdiff
path: root/db3x_autobackups/commonheaders.h
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-10-11 07:38:57 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-10-11 07:38:57 +0000
commit5551a6e1727ea93f3fc7237dafdde42c2bdc1106 (patch)
treea75ac8240b8f5727e0aae83417422f4d24df1847 /db3x_autobackups/commonheaders.h
parent62c8e11a253660294c360787369ecb656e9b67fc (diff)
sync with miranda svn
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@362 4f64403b-2f21-0410-a795-97e2b3489a10
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)