Skip to content

Commit 53a06ec

Browse files
committed
add empty STAN_DEPRECATED macro when deprecated attribute not available
1 parent f8e7b57 commit 53a06ec

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

stan/math/prim/meta/compiler_attributes.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@
3939
#ifndef unlikely
4040
#define unlikely(x) x
4141
#endif
42-
42+
#ifndef STAN_DEPRECATED
43+
#define STAN_DEPRECATED
44+
#endif
4345
/**
4446
* Turns all range and size checks into no-ops
4547
*/

0 commit comments

Comments
 (0)