Avoid a problem when clang pretends to be GNUC

pull/1135/head
vjpai 10 years ago
parent 335b97df8c
commit f731d68fef
  1. 2
      include/grpc++/config.h

@ -65,11 +65,13 @@
::google::protobuf::io::ZeroCopyInputStream
#endif
#ifndef __clang__
#ifdef __GNUC__
#if (__GNUC__ * 100 + __GNUC_MINOR__ < 406)
#define GRPC_NO_NULLPTR
#endif
#endif
#endif
#ifdef GRPC_NO_NULLPTR
#include <memory>

Loading…
Cancel
Save