Resolve build error on OSX

This commit is contained in:
Campbell Barton
2016-07-25 20:29:46 +10:00
parent bbf62931de
commit a4db868092
2 changed files with 3 additions and 7 deletions

View File

@@ -51,8 +51,7 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
typedef unsigned int uint;
#include <stdio.h>
#include "curve_fit_inline.h" #include "curve_fit_inline.h"
#include "../curve_fit_nd.h" #include "../curve_fit_nd.h"
@@ -101,9 +100,6 @@
# define UNLIKELY(x) (x) # define UNLIKELY(x) (x)
#endif #endif
typedef unsigned int uint;
struct PointData { struct PointData {
const double *points; const double *points;
uint points_len; uint points_len;

View File

@@ -24,8 +24,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef __GENERIC_HEAP_IMPL_H__ #ifndef __GENERIC_HEAP_H__
#define __GENERIC_HEAP_IMPL_H__ #define __GENERIC_HEAP_H__
/** \file generic_heap.h /** \file generic_heap.h
* \ingroup curve_fit * \ingroup curve_fit