Permalink
Browse files

Use MACOSX from detect

  • Loading branch information...
1 parent 2b8aea0 commit 3533770e53ac057489f77cf454ec6a8a800598fb @JasonLunn JasonLunn committed Apr 8, 2013
Showing with 2 additions and 7 deletions.
  1. +2 −7 OpenCLMiner.py
View
@@ -1,4 +1,4 @@
-from sys import platform as _platform
+from detect import MACOSX
from Miner import Miner
from Queue import Empty
from hashlib import md5
@@ -33,13 +33,8 @@
except Exception:
print '\nNo OpenCL\n'
-def is_osx():
- if 'darwin' == _platform:
- return True
- return False
-
def vectors_definition():
- if is_osx():
+ if MACOSX:
return '-D VECTORS'
return '-DVECTORS'

0 comments on commit 3533770

Please sign in to comment.