Drop platform support for Solaris & AIX
[blender.git] / intern / guardedalloc / MEM_guardedalloc.h
index 05a98c1a4e5c0266952156e889c86821d1e3224c..f6048a04cf37d1cfa5cef4dfea35f4ae5abcda4b 100644 (file)
@@ -225,7 +225,7 @@ public:                                                                       \
                        MEM_freeN(mem);                                                   \
        }                                                                         \
 
                        MEM_freeN(mem);                                                   \
        }                                                                         \
 
-#if defined __GNUC__ || defined __sun
+#if defined __GNUC__
 #  define OBJECT_GUARDED_NEW(type, args ...) \
        new(MEM_mallocN(sizeof(type), __func__)) type(args)
 #else
 #  define OBJECT_GUARDED_NEW(type, args ...) \
        new(MEM_mallocN(sizeof(type), __func__)) type(args)
 #else