Skip to content
This repository
Browse code

binding: a little cleanup

Adding a couple comments and removing an unnecessary "define" field
  • Loading branch information...
commit 35aee9ccb87e2ba0e4fcc128323b8fcd4fb54402 1 parent 4a4f0dd
Nathan Rajlich authored

Showing 1 changed file with 2 additions and 3 deletions. Show diff stats Hide diff stats

  1. 5  binding.gyp
5  binding.gyp
@@ -23,8 +23,6 @@
23 23
           ],
24 24
           'defines': [
25 25
             'uint=unsigned int',
26  
-            # we need to use node's preferred "win32" rather than gyp's preferred "win"
27  
-            'PLATFORM="win32"',
28 26
           ],
29 27
           'libraries': [ 
30 28
             '-l<(openssl_root)/lib/libeay32.lib',
@@ -32,8 +30,9 @@
32 30
           'include_dirs': [
33 31
             '<(openssl_root)/include',
34 32
           ],
35  
-        }, {
  33
+        }, { # OS!="win"
36 34
           'include_dirs': [
  35
+            # use node's bundled openssl headers on Unix platforms
37 36
             '<(node_root_dir)/deps/openssl/openssl/include'
38 37
           ],
39 38
         }],

0 notes on commit 35aee9c

Please sign in to comment.
Something went wrong with that request. Please try again.