diff --git a/src/vector.h b/src/vector.h
index 39f1385e57b5fec3cfc30911c9ed900d6ba78524..f2b7fa53d5607714c5fabdf1e3d80dd014ed2dfa 100644
--- a/src/vector.h
+++ b/src/vector.h
@@ -27,7 +27,7 @@
     #define VEC_MACRO(elcount, type)  __attribute__((vector_size((elcount)*sizeof(type)))) type
 
     /* So what will the vector size be? */
-    #ifdef __AVX__
+    #ifdef NO__AVX__
         #define VECTORIZE
         #define VEC_SIZE 8
         #define VEC_FLOAT __m256
@@ -54,7 +54,7 @@
         #define vec_dbl_ftoi(a) _mm256_cvttpd_epi32(a)
         #define vec_dbl_fmin(a,b) _mm256_min_pd(a,b)
         #define vec_dbl_fmax(a,b) _mm256_max_pd(a,b)
-    #elif defined( __SSE2__ )
+    #elif defined( NO__SSE2__ )
         #define VECTORIZE
         #define VEC_SIZE 4
         #define VEC_FLOAT __m128
@@ -84,23 +84,10 @@
     #else
         #define VEC_SIZE 4
     #endif
-    // #ifdef __AVX__
-    //     #define VEC_SIZE 8
-    //     #define VEC_FLOAT VEC_MACRO(8,float)
-    //     #define VEC_DOUBLE VEC_MACRO(4,double)
-    //     #define VECTORIZE
-    // #elif defined(__SSE2__)
-    //     #define VEC_SIZE 4
-    //     #define VEC_FLOAT VEC_MACRO(4,float)
-    //     #define VEC_DOUBLE VEC_MACRO(2,double)
-    //     #define VECTORIZE
-    // #endif
 
     /* Define the composite types for element access. */
     #ifdef VECTORIZE
     typedef union {
-        // VEC_MACRO(VEC_SIZE,float) v;
-        // VEC_MACRO(VEC_SIZE,int) m;
         VEC_FLOAT v;
         VEC_DBL vd;
         VEC_INT m;