only dllexport if we are building dll's
This commit is contained in:
		
							parent
							
								
									11ec5a0cd2
								
							
						
					
					
						commit
						360bf6cf1c
					
				@ -5,7 +5,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include <stddef.h>
 | 
					#include <stddef.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(_WIN32)
 | 
					#if defined(_WIN32) && !defined(VY_STATIC_LIB)
 | 
				
			||||||
    #define VY_DLLEXPORT __declspec(dllexport)
 | 
					    #define VY_DLLEXPORT __declspec(dllexport)
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
    #define VY_DLLEXPORT
 | 
					    #define VY_DLLEXPORT
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user