[gnome-builder] egg-counter: use atomics on FreeBSD now
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] egg-counter: use atomics on FreeBSD now
- Date: Tue, 12 May 2015 04:22:03 +0000 (UTC)
commit 31b3734c77ce7aa7cd1de747c5a83bc14b257d3b
Author: Christian Hergert <christian hergert me>
Date: Mon May 11 21:21:02 2015 -0700
egg-counter: use atomics on FreeBSD now
We can surely optimize this a bit, but for now let's progress towards
building again.
contrib/egg/egg-counter.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/contrib/egg/egg-counter.h b/contrib/egg/egg-counter.h
index 5e904c5..6a02819 100644
--- a/contrib/egg/egg-counter.h
+++ b/contrib/egg/egg-counter.h
@@ -150,7 +150,7 @@ G_BEGIN_DECLS
__builtin_ia32_rdtscp (&cpu);
return cpu;
}
-#elif defined(__linux__) || defined(__FreeBSD__)
+#elif defined(__linux__)
# ifndef _GNU_SOURCE
# define _GNU_SOURCE
# endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]