Commit 3437feb9 authored by Antoine Lucas's avatar Antoine Lucas
Browse files

WIN32 define instead of MINGW

parent f5a22705
Sun Nov 06 2011: 0.8-6
* fix distances pearson and correlation (problem with vector 0,0,0...)
* add new distances: absolute pearson, absolute correlation
* add new link "centroid2"
Fri Oct 23 2009:0.8-4
* minor bug fix
......
Package: amap
Version: 0.8-6
Date: 2010-11-06
Version: 0.8-7
Date: 2010-11-07
Suggests: Biobase
Title: Another Multidimensional Analysis Package
Author: Antoine Lucas
......
......@@ -2,7 +2,7 @@
* \brief all functions requiered for R dist function and C hcluster function.
*
* \date Created: probably in 1995
* \date Last modified: Time-stamp: <2011-11-04 22:05:55 antoine>
* \date Last modified: Time-stamp: <2011-11-08 21:06:41 antoine>
*
* \author R core members, and lately: Antoine Lucas
*
......@@ -46,7 +46,7 @@
#include <R_ext/Error.h>
#include <limits>
#ifndef __MINGW_H
#ifndef WIN32
#include <pthread.h>
#endif
......@@ -765,7 +765,7 @@ template<class T> void distance_T<T>::distance(double *x, int *nr,
res = 0 => missings values */
#ifndef __MINGW_H
#ifndef WIN32
pthread_t * th = (pthread_t *) malloc ( *nbprocess * sizeof(pthread_t));
for (i=0; i < *nbprocess ; i++)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment