diff options
author | Owen Anderson <resistor@mac.com> | 2009-06-30 05:33:46 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-06-30 05:33:46 +0000 |
commit | 5ec56cc43895b8b78ef2480d54982e3866d9d07a (patch) | |
tree | aef6be2d7f63a1147a1d45d0d4e0586879c76ec0 /include | |
parent | e3821c79bc5b535e4cb8ade73f5657a61c04b0a0 (diff) | |
download | llvm-5ec56cc43895b8b78ef2480d54982e3866d9d07a.tar.gz llvm-5ec56cc43895b8b78ef2480d54982e3866d9d07a.tar.bz2 llvm-5ec56cc43895b8b78ef2480d54982e3866d9d07a.tar.xz |
Fix the build on Cygwin. Patch by Aaron Gray.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/ADT/Statistic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/Statistic.h b/include/llvm/ADT/Statistic.h index 484ff5fbeb..1a4833cc4a 100644 --- a/include/llvm/ADT/Statistic.h +++ b/include/llvm/ADT/Statistic.h @@ -34,10 +34,10 @@ class Statistic { public: const char *Name; const char *Desc; - unsigned Value; + volatile llvm::sys::cas_flag Value; bool Initialized; - unsigned getValue() const { return Value; } + llvm::sys::cas_flag getValue() const { return Value; } const char *getName() const { return Name; } const char *getDesc() const { return Desc; } |