X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Fimpatomic.h;h=889a960b3888a1beab03d3dc75c9acf92541ea79;hb=d5c56ae55e7adf3e489de357ed5c80c640b67ec9;hp=0122c69602b33ca0b6231821f74d012468f1e884;hpb=20a4630cb01dc613d138d29a4b03a424bf1fd74d;p=model-checker.git diff --git a/include/impatomic.h b/include/impatomic.h index 0122c69..889a960 100644 --- a/include/impatomic.h +++ b/include/impatomic.h @@ -1,3 +1,14 @@ +/** + * @file impatomic.h + * @brief Common header for C11/C++11 atomics + * + * Note that some features are unavailable, as they require support from a true + * C11/C++11 compiler. + */ + +#ifndef __IMPATOMIC_H__ +#define __IMPATOMIC_H__ + #include "memoryorder.h" #include "cmodelint.h" @@ -3985,3 +3996,4 @@ T* atomic::fetch_sub( ptrdiff_t __v__, memory_order __x__ ) volatile } // namespace std #endif +#endif /* __IMPATOMIC_H__ */