We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c586329 + 634142e commit a67bd67Copy full SHA for a67bd67
1 file changed
groups/bsl/bsls/bsls_ident.h
@@ -252,11 +252,8 @@ BSLS_IDENT_RCSID(sysutil_ident_h,"$Id: $")
252
#define BSLS_IDENT_PRAGMA_ONCE
253
#elif defined(__IBMC__) || defined(__IBMCPP__)
254
#define BSLS_IDENT_PRAGMA_ONCE _Pragma("once")
255
-#elif (0 && defined(_MSC_VER))
256
- /* XXX: It's unclear what level of support Microsoft's compiler has for
257
- * _Pragma("once") - leave disabled for now.
258
- */
259
- #define BSLS_IDENT_PRAGMA_ONCE _Pragma("once")
+#elif defined(_MSC_VER)
+ #define BSLS_IDENT_PRAGMA_ONCE __pragma(once)
260
#elif (defined(__HP_cc) && __HP_cc-0 >= 62500) \
261
|| (defined(__HP_aCC) && __HP_aCC-0 >= 62500)
262
/* supported in aCC A.06.25 (had not been fully supported in aCC A.06.20) */
0 commit comments