added a define for ftruncate so it works under win32
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@117
This commit is contained in:
		
							parent
							
								
									6931e8fa41
								
							
						
					
					
						commit
						9e48fbd6b5
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -46,7 +46,9 @@ | |||
| #define CROSS_NONE	0 | ||||
| #define CROSS_FILE	1 | ||||
| #define CROSS_DIR	2 | ||||
| 
 | ||||
| #if defined (_MSC_VER) | ||||
| #define ftruncate(blah,blah2) chsize(blah,blah2) | ||||
| #endif | ||||
| 
 | ||||
| extern const char * dosbox_datadir; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue