Changeset 59 in pacpusframework for trunk/include/Pacpus/kernel/pacpus.h
- Timestamp:
- Jan 9, 2013, 11:30:53 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/kernel/pacpus.h
r31 r59 34 34 35 35 #ifdef __GNUC__ 36 # define PACPUS_DEPRECATED(func) func __attribute__ ((deprecated))37 # define PACPUS_DEPRECATED_MSG(func, msg) func __attribute__ ((deprecated))36 # define PACPUS_DEPRECATED(func) func __attribute__ ((deprecated)) 37 # define PACPUS_DEPRECATED_MSG(func, msg) PACPUS_DEPRECATED(func) 38 38 #elif defined(_MSC_VER) 39 # define PACPUS_DEPRECATED(func) __declspec(deprecated) func40 # define PACPUS_DEPRECATED_MSG(func, msg) __declspec(deprecated("was declared deprecated: " msg)) func39 # define PACPUS_DEPRECATED(func) __declspec(deprecated) func 40 # define PACPUS_DEPRECATED_MSG(func, msg) __declspec(deprecated("was declared deprecated: " msg)) func 41 41 #else 42 42 # pragma message("WARNING: You need to implement PACPUS_DEPRECATED for this compiler") 43 # define PACPUS_DEPRECATED(func) func44 # define PACPUS_DEPRECATED_MSG(func, msg) func43 # define PACPUS_DEPRECATED(func) func 44 # define PACPUS_DEPRECATED_MSG(func, msg) func 45 45 #endif 46 46
Note:
See TracChangeset
for help on using the changeset viewer.