comparison src/w32.c @ 13156:a398dbd2b945

Indentation change.
author Richard M. Stallman <rms@gnu.org>
date Sun, 08 Oct 1995 19:38:53 +0000
parents 4439dcb1496a
children 71d734525d2c
comparison
equal deleted inserted replaced
13155:0b8e0559dcee 13156:a398dbd2b945
268 static char configuration_buffer[32]; 268 static char configuration_buffer[32];
269 269
270 char * 270 char *
271 get_emacs_configuration (void) 271 get_emacs_configuration (void)
272 { 272 {
273 char *arch, *oem, *os; 273 char *arch, *oem, *os;
274 274
275 /* Determine the processor type. */ 275 /* Determine the processor type. */
276 switch (get_processor_type ()) 276 switch (get_processor_type ())
277 { 277 {
278 278
279 #ifdef PROCESSOR_INTEL_386 279 #ifdef PROCESSOR_INTEL_386
280 case PROCESSOR_INTEL_386: 280 case PROCESSOR_INTEL_386:
281 case PROCESSOR_INTEL_486: 281 case PROCESSOR_INTEL_486:
282 case PROCESSOR_INTEL_PENTIUM: 282 case PROCESSOR_INTEL_PENTIUM:
283 arch = "i386"; 283 arch = "i386";
284 break; 284 break;
285 #endif 285 #endif
286 286
287 #ifdef PROCESSOR_INTEL_860 287 #ifdef PROCESSOR_INTEL_860
288 case PROCESSOR_INTEL_860: 288 case PROCESSOR_INTEL_860:
289 arch = "i860"; 289 arch = "i860";
290 break; 290 break;
291 #endif 291 #endif
292 292
293 #ifdef PROCESSOR_MIPS_R2000 293 #ifdef PROCESSOR_MIPS_R2000
294 case PROCESSOR_MIPS_R2000: 294 case PROCESSOR_MIPS_R2000:
295 case PROCESSOR_MIPS_R3000: 295 case PROCESSOR_MIPS_R3000:
296 case PROCESSOR_MIPS_R4000: 296 case PROCESSOR_MIPS_R4000:
297 arch = "mips"; 297 arch = "mips";
298 break; 298 break;
299 #endif 299 #endif
300 300
301 #ifdef PROCESSOR_ALPHA_21064 301 #ifdef PROCESSOR_ALPHA_21064
302 case PROCESSOR_ALPHA_21064: 302 case PROCESSOR_ALPHA_21064:
303 arch = "alpha"; 303 arch = "alpha";
304 break; 304 break;
305 #endif 305 #endif
306 306
307 default: 307 default:
308 arch = "unknown"; 308 arch = "unknown";
309 break; 309 break;
310 } 310 }
311 311
312 /* Let oem be "*" until we figure out how to decode the OEM field. */ 312 /* Let oem be "*" until we figure out how to decode the OEM field. */
313 oem = "*"; 313 oem = "*";
314 314
315 #ifdef WINDOWS95 315 #ifdef WINDOWS95
316 os = "win"; 316 os = "win";
317 #else 317 #else
318 os = "nt"; 318 os = "nt";
319 #endif 319 #endif
320 320
321 sprintf (configuration_buffer, "%s-%s-%s%d.%d", arch, oem, os, 321 sprintf (configuration_buffer, "%s-%s-%s%d.%d", arch, oem, os,
322 get_nt_major_version (), get_nt_minor_version ()); 322 get_nt_major_version (), get_nt_minor_version ());
323 return configuration_buffer; 323 return configuration_buffer;
324 } 324 }
325 325
326 /* Conjure up inode and device numbers that will serve the purpose 326 /* Conjure up inode and device numbers that will serve the purpose
327 of Emacs. Return 1 upon success, 0 upon failure. */ 327 of Emacs. Return 1 upon success, 0 upon failure. */
328 int 328 int