mirror of
				https://github.com/prometheus/node_exporter.git
				synced 2025-08-20 18:33:52 -07:00 
			
		
		
		
	Fix compilation on OS X
As OS X doesn't have it's own interrupts provider, don't build interrupts_common on OS X as well. Otherwise build fails, because interrupts_common depends on variables provided by platform-specific files. Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
This commit is contained in:
		
							parent
							
								
									7eb7917eea
								
							
						
					
					
						commit
						d1789be33e
					
				| 
						 | 
					@ -12,6 +12,7 @@
 | 
				
			||||||
// limitations under the License.
 | 
					// limitations under the License.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// +build !nointerrupts
 | 
					// +build !nointerrupts
 | 
				
			||||||
 | 
					// +build !darwin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
package collector
 | 
					package collector
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue