From f8fcb4010b13c917972fcad719f01e75c98bd5f3 Mon Sep 17 00:00:00 2001
From: Mark Moriarty <markfm@videolan.org>
Date: Mon, 16 Apr 2007 02:27:39 +0000
Subject: [PATCH] Use ifdef/endif tests on the undefs

---
 modules/access/dshow/common.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/access/dshow/common.h b/modules/access/dshow/common.h
index e0d74b585f33..8a601619d7df 100644
--- a/modules/access/dshow/common.h
+++ b/modules/access/dshow/common.h
@@ -24,8 +24,12 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
+#ifdef size_t
 #undef size_t
+#endif
+#ifdef ptrdiff_t
 #undef ptrdiff_t
+#endif
 #include <string>
 #include <list>
 #include <deque>
-- 
GitLab