Skip to content

Commit

Permalink
fix the use of __has_feature for compilers other than llvm
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyinz committed Mar 28, 2023
1 parent 6f065cf commit 582a3e9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion source/dobby/common.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#pragma once

#ifndef __has_feature
#define __has_feature(x) 0
#endif

#include "dobby.h"
#include "dobby/types.h"
#include "dobby/platform_features.h"
Expand All @@ -8,4 +12,5 @@
#include "dobby/pac_kit.h"

#include "logging/logging.h"
#include "logging/check_logging.h"
#include "logging/check_logging.h"

0 comments on commit 582a3e9

Please sign in to comment.