Unverified Commit 0ec9b9a7 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer Committed by GitHub
Browse files

Merge pull request #1160 from akohlmey/user-ptm-portability

Make USER-PTM compile with MinGW64 for Windows
parents 6e99b3d8 22736045
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
#include <algorithm>
#include "ptm_constants.h"
#include "ptm_voronoi_cell.h"
#include "ptm_neighbour_ordering.h"


namespace ptm {
+2 −0
Original line number Diff line number Diff line
#ifndef PTM_NEIGHBOUR_ORDERING_H
#define PTM_NEIGHBOUR_ORDERING_H

#include <inttypes.h>

namespace ptm {

int calculate_neighbour_ordering(void* voronoi_handle, int num_points, const double (*_points)[3], int8_t* ordering);
+1 −0
Original line number Diff line number Diff line
@@ -89,6 +89,7 @@
#include <algorithm>
#include <string.h>
#include "ptm_quat.h"
#include "ptm_polar.h"


namespace ptm {
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@

#include <stdint.h>
#include <stdbool.h>
#include <inttypes.h>

namespace ptm {

+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
*/

#include <mpi.h>
#include <inttypes.h>  /* for int64_t */

/* ifdefs allow this file to be included in a C program */