File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 5959# define MY_ALIGNED (size )
6060#endif
6161
62- /*
63- Disable __attribute__ for Sun Studio and Visual Studio.
64- Note that Sun Studio supports some __attribute__ variants,
65- but not format or unused which we use quite a lot.
66-
67- Sic: We should not (re-)define identifiers that begin with
68- an underscore followed by an uppercase letter or another underscore.
69- */
70- #if defined __SUNPRO_C || defined __SUNPRO_CC || defined _MSC_VER
71- # define __attribute__ (A )
72- #endif
73-
7462
7563/* *
7664 C++ Type Traits
@@ -110,4 +98,16 @@ struct my_aligned_storage
11098
11199#endif /* __cplusplus */
112100
101+ /*
102+ Disable __attribute__ for Sun Studio and Visual Studio.
103+ Note that Sun Studio supports some __attribute__ variants,
104+ but not format or unused which we use quite a lot.
105+
106+ Sic: We should not (re-)define identifiers that begin with
107+ an underscore followed by an uppercase letter or another underscore.
108+ */
109+ #if defined __SUNPRO_C || defined __SUNPRO_CC || defined _MSC_VER
110+ # define __attribute__ (A )
111+ #endif
112+
113113#endif /* MY_COMPILER_INCLUDED */
You can’t perform that action at this time.
0 commit comments