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

Make USER-PTM compile with MinGW64 for Windows
This commit is contained in:
Axel Kohlmeyer 2018-10-16 14:52:26 -04:00 committed by GitHub
commit 0ec9b9a71a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#include <algorithm>
#include "ptm_constants.h"
#include "ptm_voronoi_cell.h"
#include "ptm_neighbour_ordering.h"
namespace ptm {

View File

@ -1,6 +1,8 @@
#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);

View File

@ -89,6 +89,7 @@
#include <algorithm>
#include <string.h>
#include "ptm_quat.h"
#include "ptm_polar.h"
namespace ptm {

View File

@ -3,6 +3,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <inttypes.h>
namespace ptm {

View File

@ -17,6 +17,7 @@
*/
#include <mpi.h>
#include <inttypes.h> /* for int64_t */
/* ifdefs allow this file to be included in a C program */