summaryrefslogtreecommitdiff
path: root/src/components/include/utils/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/include/utils/atomic.h')
-rw-r--r--src/components/include/utils/atomic.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/include/utils/atomic.h b/src/components/include/utils/atomic.h
index f80455b748..bfbcff9dc9 100644
--- a/src/components/include/utils/atomic.h
+++ b/src/components/include/utils/atomic.h
@@ -28,15 +28,15 @@
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef SRC_COMPONENTS_INCLUDE_UTILS_ATOMIC_H_
-#define SRC_COMPONENTS_INCLUDE_UTILS_ATOMIC_H_
+*/
#ifdef __QNXNTO__
#include <atomic.h>
#endif
+#ifndef SRC_COMPONENTS_INCLUDE_UTILS_ATOMIC_H_
+#define SRC_COMPONENTS_INCLUDE_UTILS_ATOMIC_H_
+
#if defined(__QNXNTO__)
#define atomic_post_inc(ptr) atomic_add_value((ptr), 1)
#elif defined(__GNUG__)