clients do not use any internal functionality, so link them with the shared public...
[m6w6/libmemcached] / src / libmemcached / assert.hpp
index cd4a194b2b1ce305e074e5f090ca82abead4d2ee..de2283a717d39d894fd2e4b4528f1334bf4ec319 100644 (file)
@@ -1,5 +1,5 @@
 /*  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
- * 
+ *
  *  libmcachedd client library.
  *
  *  Copyright (C) 2011-2013 Data Differential, http://datadifferential.com/
@@ -50,7 +50,7 @@
 
 # ifdef _WIN32
 #  include <malloc.h>
-# else
+# elif HAVE_ALLOCA_H
 #  include <alloca.h>
 # endif
 
@@ -62,7 +62,7 @@
 # include <stdio.h>
 #endif
 
-# include <libmemcached/backtrace.hpp>
+# include "libmemcached/backtrace.hpp"
 
 # define assert_msg(__expr, __mesg) \
 do \