Skip to content

Commit 582a3e9

Browse files
committed
fix the use of __has_feature for compilers other than llvm
1 parent 6f065cf commit 582a3e9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

source/dobby/common.h

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#pragma once
22

3+
#ifndef __has_feature
4+
#define __has_feature(x) 0
5+
#endif
6+
37
#include "dobby.h"
48
#include "dobby/types.h"
59
#include "dobby/platform_features.h"
@@ -8,4 +12,5 @@
812
#include "dobby/pac_kit.h"
913

1014
#include "logging/logging.h"
11-
#include "logging/check_logging.h"
15+
#include "logging/check_logging.h"
16+

0 commit comments

Comments
 (0)