projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
c++: references cannot be NULL
[awesomized/libmemcached]
/
libtest
/
alarm.cc
diff --git
a/libtest/alarm.cc
b/libtest/alarm.cc
index 80d7b2f6def1a9568a4549515f2408fd0ae313dd..6193fbb3cd094065a089c9a21cc84a1c67ae0127 100644
(file)
--- a/
libtest/alarm.cc
+++ b/
libtest/alarm.cc
@@
-68,7
+68,7
@@
void set_alarm(long tv_sec, long tv_usec)
if (errno != 0)
{
if (errno != 0)
{
-
fatal_message
("Bad value for YATL_ALARM");
+
FATAL
("Bad value for YATL_ALARM");
}
else if (tv_sec == 0)
{
}
else if (tv_sec == 0)
{
@@
-76,7
+76,7
@@
void set_alarm(long tv_sec, long tv_usec)
}
}
}
}
-#if
defined(TARGET_OS_OSX) && TARGET_OS_OSX
+#if
def __APPLE__
struct timeval it_value= { time_t(tv_sec), suseconds_t(tv_usec) };
#else
struct timeval it_value= { tv_sec, tv_usec };
struct timeval it_value= { time_t(tv_sec), suseconds_t(tv_usec) };
#else
struct timeval it_value= { tv_sec, tv_usec };