Complements of r458 for windows build
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@461 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
		
							parent
							
								
									9cb5818bec
								
							
						
					
					
						commit
						c130a327d1
					
				
							
								
								
									
										4
									
								
								init.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								init.c
									
									
									
									
									
								
							@ -34,8 +34,6 @@
 | 
			
		||||
#include <SDL/SDL_byteorder.h>
 | 
			
		||||
#if defined(__WIN32__)
 | 
			
		||||
  #include <windows.h> // GetLogicalDrives(), GetDriveType(), DRIVE_*
 | 
			
		||||
#else
 | 
			
		||||
  #include "mountlist.h" // read_file_system_list
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "const.h"
 | 
			
		||||
@ -54,7 +52,7 @@
 | 
			
		||||
#include "files.h"
 | 
			
		||||
#include "setup.h"
 | 
			
		||||
#include "windows.h"
 | 
			
		||||
 | 
			
		||||
#include "mountlist.h" // read_file_system_list
 | 
			
		||||
 | 
			
		||||
// Ajouter un lecteur à la liste de lecteurs
 | 
			
		||||
void Ajouter_lecteur(char Lettre, byte Type, char *Chemin)
 | 
			
		||||
 | 
			
		||||
@ -16,6 +16,8 @@
 | 
			
		||||
   You should have received a copy of the GNU General Public License
 | 
			
		||||
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 | 
			
		||||
 | 
			
		||||
#if(!defined(__WIN32__))
 | 
			
		||||
 | 
			
		||||
// We don't use autoconf and all that in grafx2, so let's do the config here ...
 | 
			
		||||
#define MOUNTED_GETMNTENT1
 | 
			
		||||
// --- END GRAFX2 CUSTOM CONFIG ---
 | 
			
		||||
@ -887,3 +889,5 @@ read_file_system_list (bool need_fs_type)
 | 
			
		||||
    return NULL;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user