Skip to content

Commit

Permalink
[clustering] define NULL if not defined in clustering header (markovm…
Browse files Browse the repository at this point in the history
  • Loading branch information
marscher authored Jun 23, 2016
1 parent 042fa8c commit ca1bdf2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyemma/coordinates/clustering/include/clustering.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ extern "C" {
#include <stdio.h>
#include <float.h>


#ifndef NULL
#warning null defined manually...
#define NULL 0x0
#endif

#if defined(__GNUC__) && ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
# define SKP_restrict __restrict
#elif defined(_MSC_VER) && _MSC_VER >= 1400
Expand Down

0 comments on commit ca1bdf2

Please sign in to comment.