posix_memalign() does not exist on windows, so we have to workaround using it with USER-INTEL

This commit is contained in:
Axel Kohlmeyer 2019-04-01 17:51:53 -04:00
parent 70ae5f41e3
commit 35129c0881
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
#endif
#endif
#if defined(LMP_USER_INTEL) && !defined(LAMMPS_MEMALIGN)
#if defined(LMP_USER_INTEL) && !defined(LAMMPS_MEMALIGN) && !defined(_WIN32)
#define LAMMPS_MEMALIGN 64
#endif

View File

@ -48,7 +48,7 @@ methods:
#ifndef LAMMPS_MY_PAGE_H
#define LAMMPS_MY_PAGE_H
#if defined(LMP_USER_INTEL) && !defined(LAMMPS_MEMALIGN)
#if defined(LMP_USER_INTEL) && !defined(LAMMPS_MEMALIGN) && !defined(_WIN32)
#define LAMMPS_MEMALIGN 64
#endif