aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi Shiraishi <zchee.io@gmail.com>2016-09-06 15:05:35 +0900
committerKoichi Shiraishi <zchee.io@gmail.com>2016-11-29 02:52:11 +0900
commitdf8cd0596bc8b7a92767d9290fdce59fd4355460 (patch)
treed3de19161c83c495a3350d0351bc4543913ad41c
parent0a2453a1bcd3ee9113a8d695113c5de6cb1ed542 (diff)
downloadkati-df8cd0596bc8b7a92767d9290fdce59fd4355460.tar.gz
[C++] add +build ignore magic comment for go build
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
-rw-r--r--affinity.cc2
-rw-r--r--fileutil_bench.cc2
-rw-r--r--regen.cc2
-rw-r--r--strutil_bench.cc2
-rw-r--r--thread_pool.cc2
5 files changed, 10 insertions, 0 deletions
diff --git a/affinity.cc b/affinity.cc
index 0743f94..2101fdb 100644
--- a/affinity.cc
+++ b/affinity.cc
@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+// +build ignore
+
#include "affinity.h"
#include "flags.h"
diff --git a/fileutil_bench.cc b/fileutil_bench.cc
index 4b1f033..77a0d35 100644
--- a/fileutil_bench.cc
+++ b/fileutil_bench.cc
@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+// +build ignore
+
#include "fileutil.h"
#include <benchmark/benchmark.h>
#include <cstdio>
diff --git a/regen.cc b/regen.cc
index 137d205..5b42d8f 100644
--- a/regen.cc
+++ b/regen.cc
@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+// +build ignore
+
#include "regen.h"
#include <sys/stat.h>
diff --git a/strutil_bench.cc b/strutil_bench.cc
index c52e43c..d3b2e6c 100644
--- a/strutil_bench.cc
+++ b/strutil_bench.cc
@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+// +build ignore
+
#include <string>
#include <vector>
diff --git a/thread_pool.cc b/thread_pool.cc
index 0a12bfa..b2429cb 100644
--- a/thread_pool.cc
+++ b/thread_pool.cc
@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+// +build ignore
+
#include "thread_pool.h"
#include <condition_variable>