Browse Source

Use ATOM_COMMON_ATOM_VERSION_H_ as ifdef guar

Kevin Sawicki 8 years ago
parent
commit
fdc666708f
1 changed files with 5 additions and 4 deletions
  1. 5 4
      atom/common/atom_version.h

+ 5 - 4
atom/common/atom_version.h

@@ -2,8 +2,8 @@
 // Use of this source code is governed by the MIT license that can be
 // found in the LICENSE file.
 
-#ifndef ATOM_VERSION_H
-#define ATOM_VERSION_H
+#ifndef ATOM_COMMON_ATOM_VERSION_H_
+#define ATOM_COMMON_ATOM_VERSION_H_
 
 #define ATOM_MAJOR_VERSION 1
 #define ATOM_MINOR_VERSION 3
@@ -38,6 +38,7 @@
 #define ATOM_VERSION_AT_LEAST(major, minor, patch) \
   (( (major) < ATOM_MAJOR_VERSION) \
   || ((major) == ATOM_MAJOR_VERSION && (minor) < ATOM_MINOR_VERSION) \
-  || ((major) == ATOM_MAJOR_VERSION && (minor) == ATOM_MINOR_VERSION && (patch) <= ATOM_PATCH_VERSION))
+  || ((major) == ATOM_MAJOR_VERSION && (minor) == ATOM_MINOR_VERSION \
+      && (patch) <= ATOM_PATCH_VERSION))
 
-#endif /* ATOM_VERSION_H */
+#endif  // ATOM_COMMON_ATOM_VERSION_H_