]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Use #ifndef instead of #if !defined
[stockfish] / src / thread.h
index 46c40d9bfdab92e3fe3d655f4d50e03629511c3a..4ad08465ff30751ae3f89777ac57ff068d2485d5 100644 (file)
@@ -17,7 +17,7 @@
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#if !defined(THREAD_H_INCLUDED)
+#ifndef THREAD_H_INCLUDED
 #define THREAD_H_INCLUDED
 
 #include <vector>
@@ -165,4 +165,4 @@ struct ThreadPool : public std::vector<Thread*> {
 
 extern ThreadPool Threads;
 
-#endif // !defined(THREAD_H_INCLUDED)
+#endif // #ifndef THREAD_H_INCLUDED