Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
svn path=/trunk/boinc/; revision=6613
  • Loading branch information
romw committed Jul 14, 2005
1 parent a0c6b93 commit f151ae9
Show file tree
Hide file tree
Showing 25 changed files with 101 additions and 23 deletions.
5 changes: 4 additions & 1 deletion api/boinc_api.C
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
// Code that's in the BOINC app library (but NOT in the core client)
// graphics-related code goes in graphics_api.C, not here

#ifdef _WIN32
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

#ifdef _WIN32
#include "version.h"
#else
#include "config.h"
Expand Down
5 changes: 4 additions & 1 deletion api/graphics_impl.C
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@

#include "config.h"

#ifdef _WIN32
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

#ifdef _WIN32
extern void win_graphics_event_loop();
#else
#include <cstring>
Expand Down
7 changes: 4 additions & 3 deletions api/gutil.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

#ifdef _WIN32
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
//extern "C"{
#endif

#ifdef _WIN32
#include "jpeglib.h"
//}
#include "bmplib.h"
#include "tgalib.h"
#endif
Expand Down
5 changes: 4 additions & 1 deletion api/reduce_lib.C
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@

// shared-library part of the implementation of REDUCE

#ifdef _WIN32
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

#ifdef _WIN32
#include <GL/gl.h>
#endif

Expand Down
5 changes: 4 additions & 1 deletion api/reduce_main.C
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@

// main-program part of the implementation of REDUCE

#ifdef _WIN32
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

#ifdef _WIN32
#include <GL/gl.h>
#endif

Expand Down
3 changes: 3 additions & 0 deletions api/windows_opengl.C
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
* Visit My Site At nehe.gamedev.net
* Adapted to BOINC by Eric Heien
*/
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif


#include "diagnostics.h"
#include "boinc_api.h"
Expand Down
31 changes: 31 additions & 0 deletions checkin_notes
Original file line number Diff line number Diff line change
Expand Up @@ -9127,3 +9127,34 @@ David 14 July 2005

sched/
sched_send.C

Rom 14 July 2005
- Make the requirements for precompiled headers on Windows optional.

api/
boinc_api.C
graphics_impl.C
gutil.C
reduce_lib.C
reduce_main.C
windows_opengl.C
client/win/
StdAfx.h
lib/
app_ipc.C
boinc_cmd.C
diagnostics.C
exception.C
filesys.C
gui_rpc_client.C
hostinfo.C
md5_file.C
mem_usage.C
mfile.C
miofile.C
network.C
parse.C
prefs.C
proxy_info.C
shmem.C
util.C
6 changes: 3 additions & 3 deletions client/win/StdAfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// are changed infrequently
//

#if !defined(AFX_STDAFX_H__B4B76702_EF2D_4BFC_869D_3F7E2CBE9FFC__INCLUDED_)
#define AFX_STDAFX_H__B4B76702_EF2D_4BFC_869D_3F7E2CBE9FFC__INCLUDED_
#if !defined(_AFX_STDAFX_H_)
#define _AFX_STDAFX_H_

#if _MSC_VER > 1000
#pragma once
Expand Down Expand Up @@ -184,4 +184,4 @@
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__B4B76702_EF2D_4BFC_869D_3F7E2CBE9FFC__INCLUDED_)
#endif // !defined(_AFX_STDAFX_H_)
2 changes: 1 addition & 1 deletion lib/app_ipc.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

#ifdef _WIN32
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

Expand Down
7 changes: 4 additions & 3 deletions lib/boinc_cmd.C
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@
//
// See help() below for a list of commands.


#ifdef _WIN32
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#else
#endif

#ifndef _WIN32
#include <cstdio>
#include <unistd.h>
#endif
Expand Down
4 changes: 4 additions & 0 deletions lib/diagnostics.C
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
// Stuff related to stderr/stdout direction and exception handling;
// used by both core client and by apps

#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

#ifndef _WIN32
#include <cstdio>
#include <cstdarg>
Expand Down
2 changes: 1 addition & 1 deletion lib/exception.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

#ifdef _WIN32
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

Expand Down
4 changes: 4 additions & 0 deletions lib/filesys.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

#ifndef _WIN32
#include <cstdio>
#include <fcntl.h>
Expand Down
4 changes: 4 additions & 0 deletions lib/gui_rpc_client.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

#ifdef _WIN32
#include "version.h"
#else
Expand Down
2 changes: 1 addition & 1 deletion lib/hostinfo.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

#ifdef _WIN32
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

Expand Down
2 changes: 1 addition & 1 deletion lib/md5_file.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

#ifdef _WIN32
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

Expand Down
6 changes: 4 additions & 2 deletions lib/mem_usage.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

#ifdef _WIN32
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#else
#endif

#ifndef _WIN32
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion lib/mfile.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

#ifdef _WIN32
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

Expand Down
2 changes: 1 addition & 1 deletion lib/miofile.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

#ifdef _WIN32
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

Expand Down
4 changes: 4 additions & 0 deletions lib/network.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

#ifndef _WIN32
#include <unistd.h>
#include <cstdio>
Expand Down
4 changes: 4 additions & 0 deletions lib/parse.C
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
// by the BOINC scheduling server or client.
// Could replace this with a more general parser.

#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

#ifndef _WIN32
#include <cstring>
#include <cstdlib>
Expand Down
4 changes: 4 additions & 0 deletions lib/prefs.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

#ifndef _WIN32
#include <cstdio>
#include <cstring>
Expand Down
2 changes: 1 addition & 1 deletion lib/proxy_info.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

#ifdef _WIN32
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

Expand Down
2 changes: 1 addition & 1 deletion lib/shmem.C
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

// interfaces for accessing shared memory segments

#ifdef _WIN32
#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

Expand Down
4 changes: 4 additions & 0 deletions lib/util.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

#if defined(_WIN32) && !defined(__STDWX_H__) && !defined(_BOINC_WIN_) && !defined(_AFX_STDAFX_H_)
#include "boinc_win.h"
#endif

#ifdef _WIN32
#define M_LN2 0.693147180559945309417
#endif
Expand Down

0 comments on commit f151ae9

Please sign in to comment.