This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
libphonenumber
mirror of
https://github.com/google/libphonenumber
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
254
Wiki
Activity
Browse Source
Merge pull request
#752
from roubert/issue725
Replace defined(COMPILER_GCC) with defined(__GNUC__).
pull/755/head
roes
11 years ago
committed by
Fredrik Roubert
parent
938dbb9e98
1107e0f7ce
commit
c6d49666b6
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
cpp/src/phonenumbers/base/basictypes.h
+1
-1
tools/cpp/src/base/basictypes.h
+ 1
- 1
cpp/src/phonenumbers/base/basictypes.h
View File
@ -205,7 +205,7 @@ struct CompileAssert {
/
/
is
important
for
some
other
reason
.
)
/
/
Use
like
:
/
/
int
x
ALLOW_UNUSED
=
.
.
.
;
#
if defined(
COMPILER_GCC
)
#
if defined(
__GNUC__
)
#
define ALLOW_UNUSED __attribute__((unused))
#
else
#
define ALLOW_UNUSED
+ 1
- 1
tools/cpp/src/base/basictypes.h
View File
@ -246,7 +246,7 @@ struct CompileAssert {
/
/
is
important
for
some
other
reason
.
)
/
/
Use
like
:
/
/
int
x
ALLOW_UNUSED
=
.
.
.
;
#
if defined(
COMPILER_GCC
)
#
if defined(
__GNUC__
)
#
define ALLOW_UNUSED __attribute__((unused))
#
else
#
define ALLOW_UNUSED
Write
Preview
Loading…
Cancel
Save