diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-16 17:42:08 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-16 17:42:08 +0000 |
commit | 5975b2d0903bd5df128d55e20cd27d7c13b4e46c (patch) | |
tree | 6696492511c591fa8bf3b65a64864245caa3e7c2 /plugins/Updater/allocations.h | |
parent | 8617d7e00546f892c9084f7c382648b23d8bbb63 (diff) |
another portion of "#ifdef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@448 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Updater/allocations.h')
-rw-r--r-- | plugins/Updater/allocations.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Updater/allocations.h b/plugins/Updater/allocations.h index 719b42383a..25d98c21f7 100644 --- a/plugins/Updater/allocations.h +++ b/plugins/Updater/allocations.h @@ -53,11 +53,9 @@ __inline static wchar_t *safe_wstrdup(const wchar_t *s) { return ret;
}
-#ifdef _UNICODE
+
#define safe_tstrdup(x) safe_wstrdup(x)
-#else
-#define sage_tstrdup(x) safe_strdup(x)
-#endif
+
__inline static BYTE *safe_bytedup(BYTE *bytes, int size) {
if (!bytes || size == 0) return 0;
|