aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/pragma_comp_defs.h
diff options
context:
space:
mode:
authorJeffrey <jeffryan@tamu.edu>2022-03-07 20:00:51 -0600
committerJeffrey <jeffryan@tamu.edu>2022-04-18 09:55:21 -0500
commit87ec36cacfd408cfe7405f804b35e29aefd209b4 (patch)
tree30b7044877a934bda97ff1c12a2cf11b04c93bf4 /contrib/epee/include/pragma_comp_defs.h
parentMerge functionality of misc_os_dependent into time_helper.h (diff)
downloadmonero-87ec36cacfd408cfe7405f804b35e29aefd209b4.tar.xz
Refactor out pragma_comp_defs
Relevant commits on the old cleanup PR: 36933c7f5c7778e2d7fbfea5361c11fb41070467 21e43de0f300ee47b7e597098908601bf591950b 3c678bb1cedfd7b865ac2e7aaf014de4bfb3eb3d
Diffstat (limited to 'contrib/epee/include/pragma_comp_defs.h')
-rw-r--r--contrib/epee/include/pragma_comp_defs.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/contrib/epee/include/pragma_comp_defs.h b/contrib/epee/include/pragma_comp_defs.h
deleted file mode 100644
index f4ef7057e..000000000
--- a/contrib/epee/include/pragma_comp_defs.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#pragma once
-
-#if defined(__GNUC__)
- #define PRAGMA_WARNING_PUSH _Pragma("GCC diagnostic push")
- #define PRAGMA_WARNING_POP _Pragma("GCC diagnostic pop")
- #define PRAGMA_WARNING_DISABLE_VS(w)
- #define PRAGMA_GCC(w) _Pragma(w)
-#elif defined(_MSC_VER)
- #define PRAGMA_WARNING_PUSH __pragma(warning( push ))
- #define PRAGMA_WARNING_POP __pragma(warning( pop ))
- #define PRAGMA_WARNING_DISABLE_VS(w) __pragma( warning ( disable: w ))
- //#define PRAGMA_WARNING_DISABLE_GCC(w)
- #define PRAGMA_GCC(w)
-#endif